Fix the Dockerfile

This commit is contained in:
dvirlabs 2025-06-18 06:12:18 +03:00
parent 7a8f9782c9
commit cb6d0705e5

View File

@ -1,11 +1,11 @@
FROM alpine:3.19 FROM alpine:3.19
# התקנת כלים שאתה צריך
RUN apk add --no-cache bash git yq curl RUN apk add --no-cache bash git yq curl
# הורדת Kaniko # workaround: הורדה ל־/tmp ואז העברה
RUN mkdir -p /kaniko && \ RUN mkdir -p /kaniko && \
curl -sSL -o /kaniko/executor https://github.com/GoogleContainerTools/kaniko/releases/download/v1.21.0/executor && \ curl -sSL https://github.com/GoogleContainerTools/kaniko/releases/download/v1.21.0/executor -o /tmp/executor && \
mv /tmp/executor /kaniko/executor && \
chmod +x /kaniko/executor chmod +x /kaniko/executor
ENV PATH="/kaniko:$PATH" ENV PATH="/kaniko:$PATH"