mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-07 01:41:22 +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,9 +1,10 @@
|
||||
# This Dockerfile extracts the source code and headers from a kernel package,
|
||||
# builds the perf utility, and places it into a scratch image
|
||||
ARG IMAGE
|
||||
ARG BUILD_IMAGE
|
||||
|
||||
FROM ${IMAGE} AS ksrc
|
||||
|
||||
ARG BUILD_IMAGE
|
||||
FROM ${BUILD_IMAGE} AS build
|
||||
RUN apk add \
|
||||
argp-standalone \
|
||||
|
Reference in New Issue
Block a user