refactor: pin alpine 3.22.1 + remove --upgrade to avoid package drift

This commit is contained in:
Burnett01 2025-12-02 18:14:43 +00:00
parent 35c5778c2d
commit 77cf0f30ae

View file

@ -1,13 +1,13 @@
FROM alpine:3.22.2 as base FROM alpine:3.22.2@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 AS base
RUN apk update && apk add --no-cache --upgrade rsync openssh-client openssl busybox RUN apk update && apk add --no-cache rsync openssh openssl busybox
RUN rm -rf /var/cache/apk/* RUN rm -rf /var/cache/apk/*
COPY docker-rsync/* /bin/ COPY docker-rsync/* /bin/
RUN chmod +x /bin/agent-* RUN chmod +x /bin/agent-*
FROM base as build FROM base AS build
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh