From 9761556033c1faaae37f995ba557c47f9f3c357f Mon Sep 17 00:00:00 2001 From: Justin Wernick Date: Sat, 25 Mar 2023 12:35:11 +0200 Subject: Identify where the current code needs the dirs to exist --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 7688ca1..a743200 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,8 @@ RUN sed -i /etc/ssh/sshd_config \ -e 's/#PermitEmptyPasswords.*/PermitEmptyPasswords yes/' RUN adduser --shell /usr/bin/shackle shukkie && passwd -d shukkie +RUN mkdir -p /home/shukkie/git/shukkie && chown -R shukkie:shukkie /home/shukkie/git +RUN git init --bare /home/shukkie/disallowed.git && chown -R shukkie:shukkie /home/shukkie/disallowed.git COPY . /opt/shackle ARG SHELL=target/debug/shackle -- cgit v1.2.3