From 384e2aa1389c77a1f29be1e9c29c60737d9c0433 Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 26 Sep 2024 20:26:19 -0700 Subject: [PATCH] Docker now contains rsync --- Dockerfile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index c0ee2fc..5f6e8e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,9 @@ FROM alpine # Copy the content to the container. COPY . / -# Grant executable permission on the script. -RUN ["chmod", "+x", "/entrypoint.sh"] -# Update the apk and download openssh -RUN ["apk", "update"] -RUN ["apk", "add", "git", "openssh"] -# Runs the script. -ENTRYPOINT [ "/entrypoint.sh" ] \ No newline at end of file +RUN chmod +x /entrypoint.sh && \ + apk update && \ + apk add git openssh rsync + + +ENTRYPOINT [ "/entrypoint.sh" ]