Skip to content
Snippets Groups Projects
Commit c816e135 authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Fixed missing host keys.

parent 0345220c
No related branches found
No related tags found
No related merge requests found
......@@ -20,8 +20,6 @@ COPY subgid /etc/subgid
RUN mkdir /rosetta/.ssh
COPY keys/id_rsa.pub /rosetta/.ssh/authorized_keys
#RUN ssh-keygen -A
# Add rosetta user to sudoers
RUN usermod -aG wheel rosetta
......@@ -36,11 +34,12 @@ RUN useradd testuser -d /home/testuser -u 1001 -g 1001 -m -s /bin/bash
RUN mkdir /home/testuser/.ssh
COPY keys/id_rsa.pub /home/testuser/.ssh/authorized_keys
# Install Docker, Singularity, various utilities including iputils (for ping) and openssh-clients (for scp)
RUN dnf install -y docker singularity openssh-server python wget iputils openssh-clients
# Generate host keys
RUN ssh-keygen -A
# Copy registries.conf to allow insecure access to internal/dev registries
COPY registries.conf /etc/containers/registries.conf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment