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
10e36003
Commit
10e36003
authored
4 years ago
by
Rory Jennings
Browse files
Options
Downloads
Plain Diff
Merge branch '5-touch-known_hosts-after-switching-user' into 'master'
fix: set user earlier in Dockerfile Closes
#5
See merge request
!5
parents
fe5ee5a8
75965223
No related branches found
Branches containing commit
No related tags found
1 merge request
!5
fix: set user earlier in Dockerfile
Pipeline
#8193
passed
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 @
10e36003
...
...
@@ -6,6 +6,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends git-core ca-cer
RUN
npm i
-g
standard-version
USER
node
RUN
git config
--global
user.email
"ci-versioning@nexusmods.com"
RUN
git config
--global
user.name
"git"
...
...
@@ -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