Update Dockerfile
This commit is contained in:
parent
56fa08b640
commit
447b361b4a
1 changed files with 10 additions and 2 deletions
12
Dockerfile
12
Dockerfile
|
@ -1,4 +1,12 @@
|
|||
FROM alpine:latest
|
||||
RUN apk add --no-cache rsync
|
||||
CMD ["rsync", "--version"]
|
||||
|
||||
RUN echo "https://dl-cdn.alpinelinux.org/alpine/edge/main" > /etc/apk/repositories && \
|
||||
echo "https://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
|
||||
echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
|
||||
apk upgrade --no-cache -a && \
|
||||
apk add --no-cache rsync \
|
||||
adduser -D -u 1000 rsync
|
||||
|
||||
USER rsync
|
||||
|
||||
CMD ["rsync", "--version"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue