Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tools
Docker
Ansible
Merge requests
!10
docker build --network host
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
docker build --network host
trunk
into
master
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
docker build --network host
Dmitriy Safronov
requested to merge
trunk
into
master
Jan 10, 2021
Overview
0
Commits
1
Pipelines
1
Changes
1
0
0
Merge request reports
Viewing commit
78f6f788
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
78f6f788
docker build --network host
· 78f6f788
Dmitriy Safronov
authored
Jan 10, 2021
.gitlab-ci.yml
+
1
−
1
View file @ 78f6f788
Edit in single-file editor
Open in Web IDE
Show full file
@@ -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"
##########################################################################################################
Loading