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:
Rolf Neugebauer
2021-05-26 12:42:49 +01:00
parent c25cc37643
commit 70ac373206
4 changed files with 8 additions and 5 deletions

View File

@@ -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 \