refactor: refs #6695 update Jenkinsfile and Dockerfile to use 'developer'
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-02-20 15:42:49 +01:00
parent a4b0f6b9c6
commit 36da27f14f
2 changed files with 4 additions and 7 deletions

4
Jenkinsfile vendored
View File

@ -101,10 +101,6 @@ pipeline {
def image = docker.build('lilium-dev', '-f docs/Dockerfile docs')
image.inside("--network ${env.COMPOSE_PROJECT}_default -e TZ -e CI") {
sh 'pwd'
sh 'ls -l'
sh 'whoami'
sh 'id -u'
sh 'cypress run --browser chromium --spec test/cypress/integration/claim/claimAction.spec.js'
}
}

View File

@ -30,11 +30,12 @@ RUN apt-get update \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -r -u 1000 -m -d /home/dev-user dev-user
USER dev-user
RUN groupadd -r -g 1000 developer \
&& useradd -r -u 1000 -g developer -m -d /home/developer developer
USER developer
ENV SHELL bash
ENV PNPM_HOME="/home/dev-user/.local/share/pnpm"
ENV PNPM_HOME="/home/developer/.local/share/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN pnpm setup \