update Dockerfile
This commit is contained in:
@@ -12,6 +12,11 @@ RUN apt-get update \
|
||||
&& chsh -s $(which bash) ubuntu \
|
||||
&& echo 'export PS1="\e[01;32m\u\e[m:\e[01;34m\w\e[m\$ "' >> /home/ubuntu/.bashrc
|
||||
|
||||
ARG NEXUS_REPO=https://rm.vilanet.fr/repository/raw
|
||||
RUN --mount=type=secret,id=nexus_login,target=/tmp/nexus_login \
|
||||
--mount=type=secret,id=nexus_pwd,target=/tmp/nexus_pwd \
|
||||
curl -Lo /tmp/jetbrains.zip ${NEXUS_REPO}/jetbrains.zip
|
||||
|
||||
ENV MAVEN_HOME=/opt/maven
|
||||
ENV PATH=$MAVEN_HOME/bin:$PATH
|
||||
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
{
|
||||
"name": "OpenJDK21",
|
||||
"name": "OpenJDK21-Slot",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"options": [
|
||||
"--secret", "id=nexus_login,src=/tmp/nexus_login",
|
||||
"--secret", "id=nexus_pwd,src=/tmp/nexus_pwd"
|
||||
]
|
||||
},
|
||||
"containerEnv": {
|
||||
"GIT_REPO_URL": "https://scm.vilanet.fr/kriss/slot"
|
||||
|
||||
Reference in New Issue
Block a user