summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 4 insertions, 4 deletions
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