diff options
author | Justin Wernick <j.wernick@eyeo.com> | 2023-05-10 15:09:05 +0200 |
---|---|---|
committer | Justin Wernick <j.wernick@eyeo.com> | 2023-05-10 15:09:22 +0200 |
commit | cae34ef0b7b6e47f1ed3efe71ac658105a75a530 (patch) | |
tree | 918bdedbaac3f70d957bb97c715af4844db56bb3 /Dockerfile | |
parent | 22a206f083a5e75a589a656d40ba1fca538720e5 (diff) |
Rename the package to something not taken on crates.io
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |