2020-07-08 22:19:04 +02:00
|
|
|
FROM alpine:3.12.0
|
|
|
|
|
|
|
|
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 \
|
|
|
|
org.label-schema.license=GPL-3.0
|
|
|
|
|
|
|
|
RUN apk update && apk -U upgrade --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing
|
2020-07-09 11:41:35 +02:00
|
|
|
RUN apk add --no-cache ca-certificates rsync openssh-client sshpass --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing && \
|
2020-07-08 22:19:04 +02:00
|
|
|
rm -rf /var/cache/apk/*
|