Change the base image
This commit is contained in:
parent
978320c84b
commit
fe28512ee2
13
Dockerfile
13
Dockerfile
@ -1,15 +1,10 @@
|
|||||||
FROM alpine:3.19
|
FROM woodpeckerci/plugin-kaniko:latest
|
||||||
|
|
||||||
# כלים: git, yq, curl לבניית Kaniko
|
USER root
|
||||||
|
|
||||||
|
# מתקין את הכלים שאתה צריך לפעולת העדכון (למשל yq, git)
|
||||||
RUN apk add --no-cache bash git yq curl
|
RUN apk add --no-cache bash git yq curl
|
||||||
|
|
||||||
# התקנת Kaniko
|
|
||||||
RUN mkdir -p /kaniko && \
|
|
||||||
curl -sSL -o /kaniko/executor https://github.com/GoogleContainerTools/kaniko/releases/download/v1.21.0/executor && \
|
|
||||||
chmod +x /kaniko/executor
|
|
||||||
|
|
||||||
ENV PATH="/kaniko:$PATH"
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user