diff --git a/build-k8s-lenz.jenkins b/build-k8s-lenz.jenkins index ae2422c..ca5b431 100644 --- a/build-k8s-lenz.jenkins +++ b/build-k8s-lenz.jenkins @@ -143,9 +143,9 @@ pipeline { apt-get update DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install --no-install-recommends -y rpm printf '%s\\n' "Setting up ROOT user build permissions" - mkdir -p /root/.npm/_logs /root/.npmrc + mkdir -p /root/.npm/_logs chmod 755 /root - chown -R 1000:1000 /root/.npm /root/.npmrc + chown -R 1000:1000 /root/.npm printf '%s\\n' "Changing user to node" su - node printf '%s\\n' "Setting up NODE user build permissions"