From 30f99f113c910a862e8f2d490719b5cc9683929e Mon Sep 17 00:00:00 2001 From: Rory <rory.jennings@nexusmods.com> Date: Tue, 25 Aug 2020 10:15:40 +0100 Subject: [PATCH] fix: set user earlier in Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b871c5f..7e8c539 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -- GitLab