mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2025-12-19 11:12:18 +01:00
refactor: pin alpine 3.22.1 + remove --upgrade to avoid package drift
This commit is contained in:
parent
35c5778c2d
commit
77cf0f30ae
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue