summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Matthias Jaros <jarlucmat@mailbox.org>2025-10-19 20:05:24 +0200
committerGravatar Matthias Jaros <jarlucmat@mailbox.org>2025-10-19 20:05:24 +0200
commit5e938e957d190ee5732f953ff3c2a71bf6c5fea9 (patch)
tree65b54ba6316153a0875970ef6df6efd65c8d7c89 /Dockerfile
parenta200e8c7b4b9b26e06e4e06e7c845a38b472b11a (diff)
Added environment parsing of repos and users
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"]
-