16 lines
421 B
Docker
16 lines
421 B
Docker
FROM alpine:3.19
|
|
|
|
# כלים: git, yq, curl לבניית Kaniko
|
|
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"] |