summaryrefslogtreecommitdiff
path: root/akmods
diff options
context:
space:
mode:
authorseth <[email protected]>2024-01-25 12:37:45 -0500
committerseth <[email protected]>2024-01-25 13:04:28 -0500
commita53272abb7337c38415c290265cdb09a4995bedd (patch)
treedc8ececbccd7f343fbd293b3ac393f8f526e35d6 /akmods
parent96990f3cee98fdff2984bd40457afeef4f87f42a (diff)
tree-wide: use `FROM .. AS` over `COPY --from`
Diffstat (limited to 'akmods')
-rw-r--r--akmods/Containerfile4
1 files changed, 2 insertions, 2 deletions
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