Bug 1710008
Summary: | [4.1.z] image build doesn't handle COPY correctly in some cases | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Adam Kaplan <adam.kaplan> |
Component: | Containers | Assignee: | Adam Kaplan <adam.kaplan> |
Status: | CLOSED ERRATA | QA Contact: | weiwei jiang <wjiang> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.1.0 | CC: | adam.kaplan, aos-bugs, bparees, calfonso, dwalsh, jokerman, mmccomas, nalin, wewang, wjiang, wzheng, xtian |
Target Milestone: | --- | ||
Target Release: | 4.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1707941 | Environment: | |
Last Closed: | 2019-06-04 10:48:48 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1707941 | ||
Bug Blocks: |
Description
Adam Kaplan
2019-05-14 17:46:18 UTC
release-4.1 PR: https://github.com/openshift/builder/pull/73 Verified it in image build side in version: $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.1.0-0.nightly-2019-05-16-223922 True False 5h58m Cluster version is 4.1.0-0.nightly-2019-05-16-223922 Steps: 1.Create a new build, which dir had symlink and .dockerignore file. $oc new-build https://github.com/wewang58/dockerignore2 2. Build complete [wewang@Desktop dockerignore2]$ oc get builds NAME TYPE FROM STATUS STARTED DURATION dockerignore2-1 Docker Git@831c29a Complete 23 seconds ago 18s [wewang@Desktop dockerignore2]$ ls -al total 44 drwxrwxr-x. 4 wewang wewang 4096 May 17 16:31 . drwx------. 39 wewang wewang 20480 May 17 16:31 .. -rw-rw-r--. 1 wewang wewang 22 May 17 16:31 Dockerfile -rw-rw-r--. 1 wewang wewang 10 May 17 16:29 .dockerignore drwxrwxr-x. 8 wewang wewang 4096 May 17 16:32 .git -rw-rw-r--. 1 wewang wewang 16 May 16 16:53 README.md drwxrwxr-x. 3 wewang wewang 4096 May 17 10:52 subdir lrwxrwxrwx. 1 wewang wewang 6 May 17 10:23 symlink -> subdir 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-2019:0758 |