update Dockerfile

This commit is contained in:
2025-09-20 20:54:49 +02:00
parent ce56e8f4e8
commit 2d1b609531

View File

@@ -16,7 +16,7 @@ RUN apt-get update \
ARG NEXUS_REPO=https://rm.vilanet.fr/repository/raw ARG NEXUS_REPO=https://rm.vilanet.fr/repository/raw
RUN --mount=type=secret,id=nexus_login,target=/tmp/nexus_login \ RUN --mount=type=secret,id=nexus_login,target=/tmp/nexus_login \
--mount=type=secret,id=nexus_pwd,target=/tmp/nexus_pwd \ --mount=type=secret,id=nexus_pwd,target=/tmp/nexus_pwd \
curl -Lo /tmp/jetbrains.zip -u$(cat nexus_login):$(cat nexus_pwd) ${NEXUS_REPO}/jetbrains.zip curl -Lo /tmp/jetbrains.zip -u$(cat /tmp/nexus_login):$(cat /tmp/nexus_pwd) ${NEXUS_REPO}/jetbrains.zip
ENV MAVEN_HOME=/opt/maven ENV MAVEN_HOME=/opt/maven
ENV PATH=$MAVEN_HOME/bin:$PATH ENV PATH=$MAVEN_HOME/bin:$PATH