Skip to content
Snippets Groups Projects
Commit 3b87e06d authored by Ujwal Kundur's avatar Ujwal Kundur
Browse files

Use containers/jug/xl.Dockerfile as base for oneapi_jug_xl

We use sed to replace base image to oneapi_jug_dev and pipe to
docker build for oneapi_jug_xl image.
parent d911a5ff
No related branches found
No related tags found
1 merge request!338Base oneapi_jug_xl off jug_xl
This commit is part of merge request !338. Comments created here will be created in the context of that merge request.
......@@ -272,8 +272,8 @@ oneapi_jug_xl:default:
script:
- cp containers/jug/setup_detectors.py containers/oneapi
- cp detectors.yaml containers/oneapi
- docker build -t ${CI_REGISTRY_IMAGE}/${BUILD_IMAGE}:${INTERNAL_TAG}
-f containers/oneapi/onexl.Dockerfile
- sed 's/^FROM.*$/FROM ${DOCKER_REGISTRY}oneapi_jug_dev:${INTERNAL_TAG}/' containers/jug/xl.Dockerfile | \
docker build - -t ${CI_REGISTRY_IMAGE}/${BUILD_IMAGE}:${INTERNAL_TAG}
--build-arg INTERNAL_TAG=${INTERNAL_TAG}
--build-arg JUGGLER_VERSION=${JUGGLER_VERSION}
--build-arg NPDET_VERSION=${NPDET_VERSION}
......@@ -298,8 +298,8 @@ oneapi_jug_xl:nightly:
script:
- cp containers/jug/setup_detectors.py containers/oneapi
- cp detectors.yaml containers/oneapi
- docker build -t ${CI_REGISTRY_IMAGE}/${BUILD_IMAGE}:${NIGHTLY_TAG}
-f containers/oneapi/onexl.Dockerfile
- sed 's/^FROM.*$/FROM ${DOCKER_REGISTRY}oneapi_jug_dev:${INTERNAL_TAG}/' containers/jug/xl.Dockerfile | \
docker build - -t ${CI_REGISTRY_IMAGE}/${BUILD_IMAGE}:${NIGHTLY_TAG}
--build-arg INTERNAL_TAG=${INTERNAL_TAG}
--build-arg JUG_VERSION=nightly-$(date +%Y-%m-%d_%H-%M-%S)-${INTERNAL_TAG}-$(git rev-parse HEAD)
--build-arg NIGHTLY=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment