From a53272abb7337c38415c290265cdb09a4995bedd Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 25 Jan 2024 12:37:45 -0500 Subject: tree-wide: use `FROM .. AS` over `COPY --from` --- akmods/Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'akmods/Containerfile') diff --git a/akmods/Containerfile b/akmods/Containerfile index 8a6a01b..1fa966c 100644 --- a/akmods/Containerfile +++ b/akmods/Containerfile @@ -2,7 +2,7 @@ ARG BASE_IMAGE="quay.io/fedora-ostree-desktops/base" ARG FEDORA_VERSION="${FEDORA_VERSION:-39}" FROM ${BASE_IMAGE}:${FEDORA_VERSION} as builder -ARG FEDORA_VERSION="${FEDORA_VERSION:-39}" +ARG FEDORA_VERSION ARG NVIDIA_VERSION="${NVIDIA_VERSION:-535}" @@ -68,5 +68,5 @@ done # send it off -FROM scratch +FROM scratch as rpms COPY --from=builder /var/cache/rpms /rpms -- cgit v1.2.3