You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The content of tarfile.tar is not unpacked and made available at / in the container.
Expected behavior
There should be a file named test.txt exist in the / in the container.
Additional Information
Dockerfile
See above
Build Context
Please provide or clearly describe any files needed to build the Dockerfile (ADD/COPY commands)
Create a simple tarball that contains a txt file, and use that in build context.
Kaniko Image (fully qualified with digest)
gcr.io/kaniko-project/executor@sha256:d9fe474f80b73808dc12b54f45f5fc90f7856d9fc699d4a5e79d968a1aef1a72
The text was updated successfully, but these errors were encountered:
Hey @xingao267 thanks for submitting this issue. I just merged #717, could you see if this solves this problem? You can run gcr.io/kaniko-project/executor:0694be3e85e127ed597fdb068b1f91c4478806f8 to try the latest version of the image.
Actual behavior and how to reproduce
ADD tar files in Dockerfile does not work properly with Kaniko.
Dockerfile content
tarfile.tar is simple tarball that contains a test.txt file inside.
Command I run:
The content of tarfile.tar is not unpacked and made available at / in the container.
Expected behavior
There should be a file named test.txt exist in the / in the container.
Additional Information
Dockerfile
See above
Build Context
Please provide or clearly describe any files needed to build the Dockerfile (ADD/COPY commands)
Create a simple tarball that contains a txt file, and use that in build context.
Kaniko Image (fully qualified with digest)
gcr.io/kaniko-project/executor@sha256:d9fe474f80b73808dc12b54f45f5fc90f7856d9fc699d4a5e79d968a1aef1a72
The text was updated successfully, but these errors were encountered: