mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2025-12-07 00:22:20 +01:00
15 lines
397 B
Docker
15 lines
397 B
Docker
FROM alpine:3.23.0@sha256:51183f2cfa6320055da30872f211093f9ff1d3cf06f39a0bdb212314c5dc7375 AS base
|
|
|
|
RUN apk update && apk add --no-cache --upgrade rsync openssh openssl busybox
|
|
|
|
RUN rm -rf /var/cache/apk/*
|
|
|
|
COPY docker-rsync/* /bin/
|
|
RUN chmod +x /bin/agent-* /bin/ssh-* /bin/hosts-*
|
|
|
|
FROM base AS build
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|