Commit 5ac6b720 authored by Guillaume Mella's avatar Guillaume Mella

set vars to build debug image

parent d31900ac
Pipeline #32514 passed with stage
in 46 seconds
......@@ -15,7 +15,7 @@ stages :
- cd oidb-$IMAGE
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build --build-arg MYCLASSPATH=$MYCLASSPATH --build-arg SVN_TAG=$SVN_TAG --build-arg OIDB_JAVA_XMS=$OIDB_JAVA_XMS --build-arg OIDB_JAVA_XMX=$OIDB_JAVA_XMX -t $CI_REGISTRY_IMAGE/$IMAGE:$IMAGE_TAG .
- docker build --build-arg MAMAN_E=$IMAGE_MAMAN_E --build-arg MYCLASSPATH=$MYCLASSPATH --build-arg SVN_TAG=$SVN_TAG --build-arg OIDB_JAVA_XMS=$OIDB_JAVA_XMS --build-arg OIDB_JAVA_XMX=$OIDB_JAVA_XMX -t $CI_REGISTRY_IMAGE/$IMAGE:$IMAGE_TAG$IMAGE_SUFFIX .
- docker push $CI_REGISTRY_IMAGE/$IMAGE:$IMAGE_TAG
build existdb:
......@@ -23,6 +23,13 @@ build existdb:
variables:
IMAGE: existdb
build existdb-debug:
<<: *docker_build
variables:
IMAGE: existdb
IMAGE_MAMAN_E: $CI_REGISTRY_IMAGE/$IMAGE:$IMAGE_TAG
IMAGE_SUFFIX: ":debug"
build postgres:
<<: *docker_build
variables:
......
FROM gcr.io/distroless/java:debug as maman_j
#FROM gricad-registry.univ-grenoble-alpes.fr/osug/jmmc/jmmc-oidb-docker/existdb:1.4-beta
ARG MAMAN_E
FROM $MAMAN_E
ENV PATH ${PATH}:/busybox
COPY --from=maman_j / /
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment