Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rosetta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ExaCT
Rosetta
Commits
c816e135
Commit
c816e135
authored
2 years ago
by
Stefano Alberto Russo
Browse files
Options
Downloads
Patches
Plain Diff
Fixed missing host keys.
parent
0345220c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
services/standaloneworker/Dockerfile
+3
-4
3 additions, 4 deletions
services/standaloneworker/Dockerfile
with
3 additions
and
4 deletions
services/standaloneworker/Dockerfile
+
3
−
4
View file @
c816e135
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment