diff options
author | Justin Wernick <justin@worthe-it.co.za> | 2023-03-25 12:35:11 +0200 |
---|---|---|
committer | Justin Wernick <justin@worthe-it.co.za> | 2023-03-25 12:35:11 +0200 |
commit | 9761556033c1faaae37f995ba557c47f9f3c357f (patch) | |
tree | 5c6eae9e6a20e052d95cb4d112ee9098ea96ae2b /Dockerfile | |
parent | 8b21be5e14f44c4f9b0d995ed73709bdde30028f (diff) |
Identify where the current code needs the dirs to exist
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |