Skip to content

Commit

Permalink
squashme: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
olevski committed Jan 18, 2023
1 parent 39132c1 commit bf0cde5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/py/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \

# Add a new group with id 1000 and arbitrary name
# Note: this is to standardize groups between the R and jupyter images
RUN groupadd -g 1000 $NB_USER && \
RUN groupadd -g 1000 "$NB_USER" && \
mkdir -p /opt/ssh/sshd_config.d && \
chown -R 1000:1000 /opt/ssh

Expand Down Expand Up @@ -76,6 +76,7 @@ RUN mkdir -p "$HOME/.renku/bin" && \
mkdir -p "$HOME/.ssh" && \
touch "$HOME/.ssh/authorized_keys" && \
chmod 600 "$HOME/.ssh/authorized_keys" && \
mkdir -p /opt/ssh/ssh_host_keys && \
ssh-keygen -q -N "" -t dsa -f /opt/ssh/ssh_host_keys/ssh_host_dsa_key && \
ssh-keygen -q -N "" -t rsa -b 4096 -f /opt/ssh/ssh_host_keys/ssh_host_rsa_key && \
ssh-keygen -q -N "" -t ecdsa -f /opt/ssh/ssh_host_keys/ssh_host_ecdsa_key && \
Expand Down

0 comments on commit bf0cde5

Please sign in to comment.