mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 19:05:37 +00:00
kernel: Fix warning about empty continuation
Without this change, recent Docker build produce this warning: [WARNING]: Empty continuation line found in: RUN apk add xz xz-dev zlib-dev && if [ $(uname -m) == x86_64 ]; then apk add libunwind-dev; fi [WARNING]: Empty continuation lines will become errors in a future release. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
54518101f0
commit
677bf96dff
@ -24,11 +24,10 @@ RUN apk add \
|
|||||||
tar \
|
tar \
|
||||||
xz \
|
xz \
|
||||||
xz-dev \
|
xz-dev \
|
||||||
zlib-dev && \
|
zlib-dev
|
||||||
|
|
||||||
# libunwind-dev pkg is missed from arm64 now, below statement will be removed if the pkg is available.
|
# libunwind-dev pkg is missed from arm64 now, below statement will be removed if the pkg is available.
|
||||||
if [ $(uname -m) == x86_64 ]; then \
|
RUN [ $(uname -m) == x86_64 ] && apk add libunwind-dev || true
|
||||||
apk add libunwind-dev; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
ARG KERNEL_VERSION
|
ARG KERNEL_VERSION
|
||||||
ARG KERNEL_SERIES
|
ARG KERNEL_SERIES
|
||||||
|
Loading…
Reference in New Issue
Block a user