mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-08 10:21:27 +00:00
kernel: Fix ARG handling in Dockerfiles
At least for the perf image I got an error when not having the ARG up front. Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
ARG IMAGE
|
||||
ARG BUILD_IMAGE
|
||||
|
||||
FROM ${IMAGE} as ksrc
|
||||
|
||||
ARG BUILD_IMAGE
|
||||
FROM ${BUILD_IMAGE} AS build
|
||||
RUN apk update && apk upgrade -a && \
|
||||
apk add --no-cache \
|
||||
|
Reference in New Issue
Block a user