chore: refactor Dockerfile a little
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
* add description and vendor strings as per org.label-schema * separate instructions into multiple RUN steps
This commit is contained in:
parent
57b4f9585f
commit
b50a08f4c8
11
Dockerfile
11
Dockerfile
@ -8,8 +8,11 @@ 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
|
||||
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>"
|
||||
|
||||
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 && \
|
||||
rm -rf /var/cache/apk/*
|
||||
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/*
|
||||
|
Loading…
Reference in New Issue
Block a user