From cae34ef0b7b6e47f1ed3efe71ac658105a75a530 Mon Sep 17 00:00:00 2001 From: Justin Wernick Date: Wed, 10 May 2023 15:09:05 +0200 Subject: Rename the package to something not taken on crates.io --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 96c605f..52cc9fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN sed -i /etc/ssh/sshd_config \ -e 's/#PasswordAuthentication.*/PasswordAuthentication yes/' \ -e 's/#PermitEmptyPasswords.*/PermitEmptyPasswords yes/' -RUN adduser --shell /usr/bin/shackle shukkie && passwd -d shukkie +RUN adduser --shell /usr/bin/shackle-shell shukkie && passwd -d shukkie RUN mkdir -p /home/shukkie/git/shukkie && \ chown -R shukkie:shukkie /home/shukkie/git RUN groupadd shukkies-company --users shukkie && \ @@ -22,11 +22,11 @@ RUN git init --bare /home/shukkie/disallowed.git && \ chown -R shukkie:shukkie /home/shukkie/disallowed.git COPY . /opt/shackle -ARG SHELL=target/debug/shackle -RUN cp /opt/shackle/${SHELL} /usr/bin/shackle +ARG SHELL=target/debug/shackle-shell +RUN cp /opt/shackle/${SHELL} /usr/bin/shackle-shell ENTRYPOINT service ssh start && echo "Ready" && bash -# docker build -t shackle-server --build-arg SHELL=target/debug/shackle ./ +# docker build -t shackle-server --build-arg SHELL=target/debug/shackle-shell ./ # docker run -it -p 2022:22 shackle-server # ssh -p 2022 shukkie@localhost \ No newline at end of file -- cgit v1.2.3