Skip to content

Commit

Permalink
SSH: add -p flag when running mkdir
Browse files Browse the repository at this point in the history
  • Loading branch information
rdimaio authored and bari12 committed Jul 31, 2024
1 parent 87116ce commit c8326c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ssh/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ RUN /usr/bin/ssh-keygen -A && \
COPY sshd_config /etc/ssh/sshd_config

# Create storage area
RUN mkdir /rucio /root/.ssh && \
RUN mkdir -p /rucio && \
mkdir -p /root/.ssh && \
echo '' > /root/.ssh/authorized_keys

# Startup
Expand Down

0 comments on commit c8326c4

Please sign in to comment.