diff options
| author | seth <[email protected]> | 2024-01-25 12:37:45 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2024-01-25 13:04:28 -0500 |
| commit | a53272abb7337c38415c290265cdb09a4995bedd (patch) | |
| tree | dc8ececbccd7f343fbd293b3ac393f8f526e35d6 /akmods/Containerfile | |
| parent | 96990f3cee98fdff2984bd40457afeef4f87f42a (diff) | |
tree-wide: use `FROM .. AS` over `COPY --from`
Diffstat (limited to 'akmods/Containerfile')
| -rw-r--r-- | akmods/Containerfile | 4 |
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 |
