Skip to content

Commit 1119dda

Browse files
authored
Merge pull request #41 from Xpirix/fix_docker_build
Fix Dockerfile to create directory with -p flag for sshd
2 parents 462d534 + 375190b commit 1119dda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployment/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ FROM prod as dev
5757
# https://docs.docker.com/examples/running_ssh_service/
5858
# Sudo is needed by pycharm when it tries to pip install packages
5959
RUN apt-get update && apt-get install -y openssh-server sudo
60-
RUN mkdir /var/run/sshd
60+
RUN mkdir -p /var/run/sshd
6161
RUN echo 'root:docker' | chpasswd
6262
RUN echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
6363

0 commit comments

Comments
 (0)