redhat-buildpacks / poc

Project to be used to perform go build of images using Buildah, ...
3 stars 6 forks source link

Extraction of the tgz layer file fails #7

Closed cmoulliard closed 2 years ago

cmoulliard commented 2 years ago

Issue

During the execution of the following command

 docker run \
>        -e EXTRACT_LAYERS=true \
>        -e LOGGING_FORMAT=color \
>        -e DOCKER_FILE_NAME="Dockerfile" \
>        -v $(pwd)/workspace:/workspace \
>        -v $(pwd)/cache:/cache \
>        -it kaniko-app

the program fails to extract the files and reports the following error

INFO[0009] File to be extracted: /etc/ssl/certs         
INFO[0009] File to be extracted: /etc/ssl/certs/02265526.0 
FATA[0009] ExtractTarGz: uknown type: %!s(uint8=50) in etc/ssl/certs/02265526.0 

https://github.com/redhat-buildpacks/poc/blob/048ee5f6f314a63d610192bbc348daa92b75c7b5/kaniko/code/buildpackconfig/buildPackConfig.go#L207