Skip to content
Snippets Groups Projects
Commit 10e36003 authored by Rory Jennings's avatar Rory Jennings
Browse files

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
No related tags found
1 merge request!5fix: set user earlier in Dockerfile
Pipeline #8193 passed
......@@ -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
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