Skip to content

Commit 375190b

Browse files
committed
Fix Dockerfile to create directory with -p flag for sshd
1 parent 462d534 commit 375190b

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)