2022-02-20 19:03:57 +01:00
|
|
|
FROM alpine:3.15.0
|
2020-07-08 22:19:04 +02:00
|
|
|
|
|
|
|
ARG BUILD_DATE
|
|
|
|
ARG VCS_REF
|
|
|
|
|
|
|
|
LABEL description="Alpine-based image containing simply rsync"
|
|
|
|
|
|
|
|
LABEL org.label-schema.build-date=$BUILD_DATE \
|
|
|
|
org.label-schema.vcs-url="https://github.com/wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf/docker-alpine-rsync.git" \
|
|
|
|
org.label-schema.vcs-ref=$VCS_REF \
|
2021-01-20 10:18:47 +01:00
|
|
|
org.label-schema.license=GPL-3.0 \
|
|
|
|
org.label-schema.description="Alpine-based image containing simply rsync" \
|
|
|
|
org.label-schema.vendor="wanderer <wanderer at git.dotya.ml>"
|
2020-07-08 22:19:04 +02:00
|
|
|
|
2021-01-20 10:18:47 +01:00
|
|
|
RUN apk update \
|
|
|
|
&& apk -U upgrade --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing
|
|
|
|
RUN apk add --no-cache ca-certificates rsync openssh-client sshpass --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing
|
|
|
|
RUN rm -rf /var/cache/apk/*
|