Skip to content
Snippets Groups Projects
Commit 78f6f788 authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

docker build --network host

parent 5b7456c6
Branches
No related tags found
1 merge request!10docker build --network host
Pipeline #1399 passed
......@@ -48,7 +48,7 @@ build:
script:
- docker pull "${CI_REGISTRY_IMAGE}:latest" || true
- echo "Runtime dependencies - [${DEPENDENCIES_RUNTIME}]"
- docker build --cache-from "${CI_REGISTRY_IMAGE}:latest" -t "${CI_REGISTRY_IMAGE}:temp-${CI_PIPELINE_IID}" -f ./Dockerfile --build-arg DEPENDENCIES_RUNTIME="${DEPENDENCIES_RUNTIME}" .
- docker build --network host --cache-from "${CI_REGISTRY_IMAGE}:latest" -t "${CI_REGISTRY_IMAGE}:temp-${CI_PIPELINE_IID}" -f ./Dockerfile --build-arg DEPENDENCIES_RUNTIME="${DEPENDENCIES_RUNTIME}" .
- docker push "${CI_REGISTRY_IMAGE}:temp-$CI_PIPELINE_IID"
##########################################################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment