refactor: refs #6695 update Jenkinsfile and Dockerfile to use 'developer'
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
a4b0f6b9c6
commit
36da27f14f
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue