summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 98316ae..10e70d3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,8 @@
FROM alpine
RUN apk add --no-cache openssh-server fish git sudo
+ENV GIT_UID=1000
+
# Modified ssh conf with disabled root login and no password authentication
COPY ssh.conf /etc/ssh/sshd_config.d/
COPY sudo-git /etc/sudoers.d/
@@ -13,4 +15,3 @@ RUN chmod +x /usr/local/bin/run
COPY init /usr/local/bin/
RUN chmod +x /usr/local/bin/init
ENTRYPOINT ["/usr/local/bin/init"]
-