fix: Fix trivy, config location
This commit is contained in:
parent
2579cc7f00
commit
16dcaef4f7
@ -41,7 +41,7 @@ RUN echo -e "$BUILDUSER:100000:65535" > /etc/subuid && \
|
|||||||
RUN sed -i -e 's/exec \$JAVA_BIN/podman system service -t0\&\n exec \$JAVA_BIN/' /usr/local/bin/jenkins-agent
|
RUN sed -i -e 's/exec \$JAVA_BIN/podman system service -t0\&\n exec \$JAVA_BIN/' /usr/local/bin/jenkins-agent
|
||||||
|
|
||||||
ENV XDG_RUNTIME_DIR=/home/$BUILDUSER/agent/xdg-run
|
ENV XDG_RUNTIME_DIR=/home/$BUILDUSER/agent/xdg-run
|
||||||
ENV XDG_CONFIG_HOME=/home/$BUILDUSER
|
ENV XDG_CONFIG_HOME=/home/$BUILDUSER/.config
|
||||||
|
|
||||||
ENV BUILDAH_ISOLATION=chroot
|
ENV BUILDAH_ISOLATION=chroot
|
||||||
ENV _CONTAINERS_USERNS_CONFIGURED=""
|
ENV _CONTAINERS_USERNS_CONFIGURED=""
|
||||||
|
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -2,4 +2,4 @@ library identifier: 'zdt-lib@master', retriever: modernSCM(
|
|||||||
[$class: 'GitSCMSource',
|
[$class: 'GitSCMSource',
|
||||||
remote: 'https://git.zero-downtime.net/ZeroDownTime/ci-tools-lib.git'])
|
remote: 'https://git.zero-downtime.net/ZeroDownTime/ci-tools-lib.git'])
|
||||||
|
|
||||||
buildPodman name: 'jenkins-podman', trivyFail: 'NONE'
|
buildPodman name: 'jenkins-podman'
|
||||||
|
Loading…
Reference in New Issue
Block a user