Docker now contains rsync
This commit is contained in:
parent
9bbc8c959e
commit
384e2aa138
13
Dockerfile
13
Dockerfile
@ -2,10 +2,9 @@
|
|||||||
FROM alpine
|
FROM alpine
|
||||||
# Copy the content to the container.
|
# Copy the content to the container.
|
||||||
COPY . /
|
COPY . /
|
||||||
# Grant executable permission on the script.
|
RUN chmod +x /entrypoint.sh && \
|
||||||
RUN ["chmod", "+x", "/entrypoint.sh"]
|
apk update && \
|
||||||
# Update the apk and download openssh
|
apk add git openssh rsync
|
||||||
RUN ["apk", "update"]
|
|
||||||
RUN ["apk", "add", "git", "openssh"]
|
|
||||||
# Runs the script.
|
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
|
||||||
|
Loading…
Reference in New Issue
Block a user