From fe28512ee284af0268cb748e2ffede72dbd16116 Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Wed, 18 Jun 2025 05:50:49 +0300 Subject: [PATCH] Change the base image --- Dockerfile | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 37bbac6..f4c481b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,11 @@ -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 -# התקנת 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 RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file +ENTRYPOINT ["/entrypoint.sh"]