Description of problem: Upgrade buildah to v1.16.4, which includes two fixes to ADD instructions. Version-Release number of selected component (if applicable): 4.6.0 How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: https://github.com/containers/buildah/pull/2660 https://github.com/containers/buildah/pull/2668
Do regression test for build, especially for Dockerfile with ADD command to extract files. Version: 4.6.0-0.nightly-2020-10-08-182439 1. Related Dockerfile ``` FROM scratch ADD /sub/subdirectory.tar.gz /sub/ ``` 2. [wewang@wangwen bz1884610]$ oc logs -f build/bz1884610-1 Cloning "https://github.com/wewang58/bz1884610" ... Commit: e39a8394933b2dc9fae5092823a29af8b77fc15a (FIX) Author: wewang58 <wewang> Date: Fri Oct 9 18:16:18 2020 +0800 Replaced Dockerfile FROM image scratch Caching blobs under "/var/cache/blobs". STEP 1: FROM scratch STEP 2: ADD /sub/subdirectory.tar.gz /sub/ --> 3b6b8996657 STEP 3: ENV "OPENSHIFT_BUILD_NAME"="bz1884610-1" "OPENSHIFT_BUILD_NAMESPACE"="wewang" "OPENSHIFT_BUILD_SOURCE"="https://github.com/wewang58/bz1884610" "OPENSHIFT_BUILD_COMMIT"="e39a8394933b2dc9fae5092823a29af8b77fc15a" --> 96f338e4bb9
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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196