Dockerfile changes for OpenShift - #125
Conversation
|
jenkins push |
|
The PR image has been pushed to Quay with tag |
771b48b to
299cd61
Compare
|
jenkins push |
There was a problem hiding this comment.
Interesting, is our own base image a new thing?
There was a problem hiding this comment.
It's used by a few other components and OpenShift CI for builds.
There was a problem hiding this comment.
Note... we don't actually ever build with this image as a base. It will be replaced with openshift3/ose-base in our process.
If you need this to also build in origin, then what you have is definitely the way to go. However, I am concerned about the golang-1.9 tag. That's not something I'm familiar with. We build openshift3/ose-base during the OCP build so that version will be what this image is built with.
There was a problem hiding this comment.
This is a multistage build. The first image is only used for building the Go binary.
https://docs.docker.com/develop/develop-images/multistage-build/
We have FROM openshift/origin-base later. Does the tooling support that?
There was a problem hiding this comment.
It doesn't yet, but this will be a guinea pig for that capability in OSBS.
|
The PR image has been pushed to Quay with tag |
|
/hold |
|
/test backend |
b360baa to
c0cd76a
Compare
c0cd76a to
f7a4ac4
Compare
|
@stevekuznetsov This now adds a Dockerfile.ci, but I'm not sure it should be needed looking at https://github.com/openshift/release/blob/master/ci-operator/config/openshift/console/master.json ci/prow/* jobs are failing, though. |
|
|
f7a4ac4 to
6968a70
Compare
* Use openshift/origin-base as the base image * Add image labels and user
6968a70 to
5b687af
Compare
|
OK, I've updated this PR just to switch the base image and add labels and user. |
|
jenkins push |
|
The PR image has been pushed to Quay with tag |
|
I updated the CI cluster with an image built from this Dockerfile. @jwforres PTAL |
|
/test all |
|
@spadgett: The following tests failed, say
DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
LGTM for first pass to switch base image |
|
I'll work on any changes needed for OSBS in a follow on. |
* add AddLabel option component * fix import and props type variable name * add props to pass back the value to component and use name-value-editor component * move component to shared component folder
…ice-dashboard Add object-service-dashboard test
/cc @adammhaile @jwforres