mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2025-12-19 11:12:18 +01:00
15 lines
308 B
Docker
15 lines
308 B
Docker
FROM alpine:3.22.2 as base
|
|
|
|
RUN apk update && apk add --no-cache --upgrade rsync openssh-client openssl busybox
|
|
|
|
RUN rm -rf /var/cache/apk/*
|
|
|
|
COPY docker-rsync/* /bin/
|
|
RUN chmod +x /bin/agent-*
|
|
|
|
FROM base as build
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|