UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
M
MITRE
SAF
heimdall2
Commits
20496b81
Unverified
Commit
20496b81
authored
May 04, 2021
by
Robert Clark
Browse files
Run as root to setup yarn and add the heimdall user and group
parent
fdd70fec
Pipeline
#244182
failed with stages
in 62 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Dockerfile
Dockerfile
+2
-1
No files found.
Dockerfile
View file @
20496b81
...
@@ -10,8 +10,9 @@ COPY yarn.tar.gz /
...
@@ -10,8 +10,9 @@ COPY yarn.tar.gz /
WORKDIR
/
WORKDIR
/
RUN
npm
install
-g
yarn.tar.gz
--force
USER
root
RUN
npm
install
-g
yarn.tar.gz
--force
RUN
groupadd
-g
1001 heimdall
&&
\
RUN
groupadd
-g
1001 heimdall
&&
\
useradd
-r
-u
1001
-m
-s
/sbin/nologin
-g
heimdall heimdall
&&
\
useradd
-r
-u
1001
-m
-s
/sbin/nologin
-g
heimdall heimdall
&&
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment