Skip to content
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

Issue #64 build, pull and push of container images #80

Closed
wants to merge 1 commit into from

Conversation

gbraad
Copy link
Member

@gbraad gbraad commented Dec 25, 2017

Fix #64

Will have to remove/replace

  - docker login -u gbraad -p $DOCKER_PASSWORD

but this is something I used before to prevent the rebuild of the images for socat, ethtool, etc

- dnf install -y docker make git gettext
- docker login -u gbraad -p $DOCKER_PASSWORD
Copy link
Member

Choose a reason for hiding this comment

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

We should get the user name from the environment variable e.g. $DOCKER_USER

@LalatenduMohanty
Copy link
Member

@gbraad To make this PR to work , we first need to push the intermediate images to github, right?

@@ -31,22 +31,25 @@ docker run $DOCKER_RUN_OPTIONS jpetazzo/nsenter cat /nsenter > $tmpdir/nsenter &
# do not remove nsenter, as this image is not big, and quite generally used

# Get socat
docker build -t socat -f Dockerfile.socat .
docker run $DOCKER_RUN_OPTIONS socat cat socat > $tmpdir/socat
[ "${BUILD_CONTAINER_IMAGES+1}" ] && docker build -t minishift/b2d-socat -f Dockerfile.socat .
Copy link
Member

Choose a reason for hiding this comment

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

Why the +1 in ${BUILD_CONTAINER_IMAGES+1} . If anyone wants to build the images locally we can set export BUILD_CONTAINER_IMAGES=1, right?

@gbraad
Copy link
Member Author

gbraad commented Apr 24, 2018 via email

@gbraad
Copy link
Member Author

gbraad commented Apr 24, 2018

retest this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use cached images for socat, ethtool, and conntrack
2 participants