Skip to content
Snippets Groups Projects
Commit 162c2494 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 9ed2c89b
No related branches found
No related tags found
No related merge requests found
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: ...@@ -272,8 +272,8 @@ oneapi_jug_xl:default:
script: script:
- cp containers/jug/setup_detectors.py containers/oneapi - cp containers/jug/setup_detectors.py containers/oneapi
- cp detectors.yaml containers/oneapi - cp detectors.yaml containers/oneapi
- docker build -t ${CI_REGISTRY_IMAGE}/${BUILD_IMAGE}:${INTERNAL_TAG} - sed 's/^FROM.*$/FROM ${DOCKER_REGISTRY}oneapi_jug_dev:${INTERNAL_TAG}/' containers/jug/xl.Dockerfile | \
-f containers/oneapi/onexl.Dockerfile docker build - -t ${CI_REGISTRY_IMAGE}/${BUILD_IMAGE}:${INTERNAL_TAG}
--build-arg INTERNAL_TAG=${INTERNAL_TAG} --build-arg INTERNAL_TAG=${INTERNAL_TAG}
--build-arg JUGGLER_VERSION=${JUGGLER_VERSION} --build-arg JUGGLER_VERSION=${JUGGLER_VERSION}
--build-arg NPDET_VERSION=${NPDET_VERSION} --build-arg NPDET_VERSION=${NPDET_VERSION}
...@@ -294,8 +294,8 @@ oneapi_jug_xl:nightly: ...@@ -294,8 +294,8 @@ oneapi_jug_xl:nightly:
script: script:
- cp containers/jug/setup_detectors.py containers/oneapi - cp containers/jug/setup_detectors.py containers/oneapi
- cp detectors.yaml containers/oneapi - cp detectors.yaml containers/oneapi
- docker build -t ${CI_REGISTRY_IMAGE}/${BUILD_IMAGE}:${NIGHTLY_TAG} - sed 's/^FROM.*$/FROM ${DOCKER_REGISTRY}oneapi_jug_dev:${INTERNAL_TAG}/' containers/jug/xl.Dockerfile | \
-f containers/oneapi/onexl.Dockerfile docker build - -t ${CI_REGISTRY_IMAGE}/${BUILD_IMAGE}:${NIGHTLY_TAG}
--build-arg INTERNAL_TAG=${INTERNAL_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 JUG_VERSION=nightly-$(date +%Y-%m-%d_%H-%M-%S)-${INTERNAL_TAG}-$(git rev-parse HEAD)
--build-arg NIGHTLY=1 --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