Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nexus-release-image
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Public
nexus-release-image
Commits
30f99f11
Commit
30f99f11
authored
4 years ago
by
Rory Jennings
Browse files
Options
Downloads
Patches
Plain Diff
fix: set user earlier in Dockerfile
parent
fe5ee5a8
No related branches found
Branches containing commit
No related tags found
1 merge request
!5
fix: set user earlier in Dockerfile
Pipeline
#8191
failed
4 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+2
-2
2 additions, 2 deletions
Dockerfile
with
2 additions
and
2 deletions
Dockerfile
+
2
−
2
View file @
30f99f11
...
...
@@ -4,6 +4,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends git-core ca-cer
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
USER
node
RUN
npm i
-g
standard-version
RUN
git config
--global
user.email
"ci-versioning@nexusmods.com"
...
...
@@ -16,7 +18,5 @@ RUN chmod 700 ~/.ssh
RUN
touch
~/.ssh/known_hosts
RUN
chmod
644 ~/.ssh/known_hosts
USER
node
COPY
src/ build/
CMD
["/build/release.sh"]
\ No newline at end of file
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