mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 11:00:25 +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 \
|
||||
xz \
|
||||
xz-dev \
|
||||
zlib-dev && \
|
||||
zlib-dev
|
||||
|
||||
# libunwind-dev pkg is missed from arm64 now, below statement will be removed if the pkg is available.
|
||||
if [ $(uname -m) == x86_64 ]; then \
|
||||
apk add libunwind-dev; \
|
||||
fi
|
||||
RUN [ $(uname -m) == x86_64 ] && apk add libunwind-dev || true
|
||||
|
||||
ARG KERNEL_VERSION
|
||||
ARG KERNEL_SERIES
|
||||
|
Loading…
Reference in New Issue
Block a user