mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-15 15:48:34 +00:00
make curl fail on 404
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -4,7 +4,7 @@ ARG KERNEL_VERSION=4.4.29
|
||||
|
||||
ENV KERNEL_SOURCE=https://www.kernel.org/pub/linux/kernel/v4.x/linux-${KERNEL_VERSION}.tar.xz
|
||||
|
||||
RUN curl -sSL -o linux-${KERNEL_VERSION}.tar.xz ${KERNEL_SOURCE}
|
||||
RUN curl -fsSL -o linux-${KERNEL_VERSION}.tar.xz ${KERNEL_SOURCE}
|
||||
|
||||
RUN cat linux-${KERNEL_VERSION}.tar.xz | tar --absolute-names -xJ && mv /linux-${KERNEL_VERSION} /linux
|
||||
|
||||
|
||||
Reference in New Issue
Block a user