Skip to content

Add option to configure the networking stack in docker build #2036

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 29, 2019

Conversation

corneliusweig
Copy link
Contributor

@corneliusweig corneliusweig commented Apr 26, 2019

There is an issue on AWS where the docker builder must be run with --network=host. This PR makes it possible to configure the networking stack of the docker builder via the skaffold.yaml.

Fixes #1771

Note: This also includes commit 9810d58 because the new option should be mentioned in the additions list in upgrade.go

Signed-off-by: Cornelius Weig <[email protected]>
…ker builder

This fixes an issue on AWS where docker builds need to be done with `--network=host`.

Signed-off-by: Cornelius Weig <[email protected]>
@corneliusweig corneliusweig changed the title Add option to configure the networking stack of the docker builder Add option to configure the networking stack in docker build Apr 26, 2019
@codecov-io
Copy link

Codecov Report

Merging #2036 into master will increase coverage by 0.13%.
The diff coverage is 85.18%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2036      +/-   ##
==========================================
+ Coverage   55.96%   56.09%   +0.13%     
==========================================
  Files         173      175       +2     
  Lines        7566     7607      +41     
==========================================
+ Hits         4234     4267      +33     
- Misses       2928     2932       +4     
- Partials      404      408       +4
Impacted Files Coverage Δ
pkg/skaffold/schema/versions.go 74.35% <ø> (ø) ⬆️
pkg/skaffold/schema/latest/config.go 100% <ø> (ø) ⬆️
pkg/skaffold/schema/validation/validation.go 100% <100%> (ø) ⬆️
pkg/skaffold/schema/v1beta8/upgrade.go 58.2% <100%> (ø) ⬆️
pkg/skaffold/docker/image.go 72.12% <100%> (+0.51%) ⬆️
pkg/skaffold/schema/v1beta9/config.go 100% <100%> (ø)
pkg/skaffold/schema/v1beta9/upgrade.go 66.66% <66.66%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9a68f2a...1ec8e3d. Read the comment docs.

@Mavericktx2
Copy link

Mavericktx2 commented Apr 26, 2019 via email

@briandealwis
Copy link
Member

@Mavericktx2 I think you must have either requested to watch this repository. You should see an option to unsubscribe or unwatchable if you visit the githubb page.

Copy link
Contributor

@balopat balopat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@balopat balopat added the kokoro:run runs the kokoro jobs on a PR label Apr 29, 2019
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Apr 29, 2019
@balopat balopat merged commit 380a436 into GoogleContainerTools:master Apr 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pass --network=host during docker build
7 participants