diff --git a/kernel/Dockerfile.kconfig b/kernel/Dockerfile.kconfig index 78a56c12a..fbd9e282c 100644 --- a/kernel/Dockerfile.kconfig +++ b/kernel/Dockerfile.kconfig @@ -4,8 +4,8 @@ RUN apk add \ build-base \ curl \ diffutils \ + libarchive-tools \ ncurses-dev \ - tar \ xz ARG KERNEL_VERSIONS @@ -17,7 +17,7 @@ RUN set -e && for VERSION in ${KERNEL_VERSIONS}; do \ echo "Downloading/Unpacking $VERSION" && \ KERNEL_SOURCE=https://www.kernel.org/pub/linux/kernel/v4.x/linux-${VERSION}.tar.xz && \ [ -f sources/linux-${VERSION}.tar.xz ] || curl -fSLo sources/linux-${VERSION}.tar.xz ${KERNEL_SOURCE} && \ - tar xf sources/linux-${VERSION}.tar.xz; \ + bsdtar xf sources/linux-${VERSION}.tar.xz; \ done # Apply patches to all kernels and move config files into place