Bug 1416456
Summary: | BuildConfig with Docker strategy using Dockerfile with 'FROM scratch' results in a failed build | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Bill DeCoste <wdecoste> |
Component: | Build | Assignee: | Ben Parees <bparees> |
Status: | CLOSED ERRATA | QA Contact: | Wang Haoran <haowang> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.4.0 | CC: | aos-bugs, bparees, dyan, tdawson, xtian |
Target Milestone: | --- | ||
Target Release: | 3.4.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
If this bug requires documentation, please select an appropriate Doc Type value.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-02-22 18:11:23 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Bill DeCoste
2017-01-25 14:42:54 UTC
This has been merged into ocp and is in OCP v3.4.1.7 or newer. Verified openshift v3.4.1.7 kubernetes v1.4.0+776c994 etcd 3.1.0-rc.0 # oc new-build -D $'FROM scratch\nENV NUM 1' --to=test # oc logs -f bc/test Step 1 : FROM scratch ---> Step 2 : ENV NUM 1 ---> Running in c67ed76f2559 ---> 328f24a22408 Removing intermediate container c67ed76f2559 Step 3 : ENV "OPENSHIFT_BUILD_NAME" "test-1" "OPENSHIFT_BUILD_NAMESPACE" "dyan1" ---> Running in ba4d1bf25a7a ---> 8bb37118587c Removing intermediate container ba4d1bf25a7a Successfully built 8bb37118587c Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0289 |