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