summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-10-19 20:05:24 +0200
committerGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-10-19 20:05:24 +0200
commit17ee046b844bd418cd58cc7dfbcd8c5bdb5b179a (patch)
tree65b54ba6316153a0875970ef6df6efd65c8d7c89 /Dockerfile
parent2c1352ab5d08270aa35c446eb108f4e24342d5d2 (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"]
-