Skip to content

Commit 08c381a

Browse files
committed
Fix demo-base docker build
Update ssh keygen Uses python 3.10
1 parent 4fbc8f1 commit 08c381a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

etc/docker/demo-base/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ RUN conda install mamba -n base -c conda-forge && \
106106
'jupyter' \
107107
'r-devtools' \
108108
'r-stringr' \
109-
'r-argparse' && \
109+
'r-argparse' \
110+
'python=3.10' && \
110111
mamba clean -y --all &&\
111112
fix-permissions $ANACONDA_HOME && \
112113
fix-permissions /home/$NB_USER
@@ -152,7 +153,7 @@ RUN ssh-keygen -q -N "" -t rsa -f /home/$NB_USER/.ssh/id_rsa && \
152153
USER root
153154

154155
# SETUP PASSWORDLESS SSH
155-
RUN yes y | ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_dsa_key && \
156+
RUN yes y | ssh-keygen -q -N "" -t rsa -f /etc/ssh/ssh_host_dsa_key && \
156157
yes y | ssh-keygen -q -N "" -t rsa -f /etc/ssh/ssh_host_rsa_key && \
157158
yes y | ssh-keygen -q -N "" -t rsa -f /root/.ssh/id_rsa && \
158159
cp /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys

0 commit comments

Comments
 (0)