File tree Expand file tree Collapse file tree 11 files changed +47
-8
lines changed
nvidia-gpu/nvidia-container-toolkit Expand file tree Collapse file tree 11 files changed +47
-8
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,18 @@ variant: scratch
3
3
shell : /bin/bash
4
4
install :
5
5
- build-base
6
+ - gcc-14
6
7
- bash
7
8
- gawk
8
9
- bison
9
10
- python3
10
11
dependencies :
11
12
- image : cgr.dev/chainguard/wolfi-base@{{ .WOLFI_BASE_REF }}
12
13
steps :
13
- - sources :
14
+ - env :
15
+ CC : gcc-14
16
+ CXX : g++-14
17
+ sources :
14
18
- url : https://src.fedoraproject.org/lookaside/pkgs/glibc/glibc-{{ .GLIBC_VERSION }}-8-g1e0e33e1b1.tar.xz/sha512/449e3d4f6b59bfde2175c5d1be71447b084e0b12b176518b65fd9b0ac8430766b25416a173fe3efd47462bc1719d59a051e7eed9544e0fba9165dd86f69ee0b9/glibc-{{ .GLIBC_VERSION }}-8-g1e0e33e1b1.tar.xz
15
19
destination : glibc.tar.xz
16
20
sha256 : {{ .GLIBC_SHA256 }}
Original file line number Diff line number Diff line change @@ -3,14 +3,18 @@ variant: scratch
3
3
shell : /bin/bash
4
4
install :
5
5
- build-base
6
+ - gcc-14
6
7
- bash
7
8
- m4
8
9
dependencies :
9
10
- image : cgr.dev/chainguard/wolfi-base@{{ .WOLFI_BASE_REF }}
10
11
- stage : zlib
11
12
from : /rootfs
12
13
steps :
13
- - sources :
14
+ - env :
15
+ CC : gcc-14
16
+ CXX : g++-14
17
+ sources :
14
18
- url : https://sourceware.org/elfutils/ftp/{{ .ELFUTILS_VERSION }}/elfutils-{{ .ELFUTILS_VERSION }}.tar.bz2
15
19
destination : elfutils.tar.bz2
16
20
sha256 : {{ .ELFUTILS_SHA256 }}
Original file line number Diff line number Diff line change @@ -3,12 +3,16 @@ variant: scratch
3
3
shell : /bin/bash
4
4
install :
5
5
- build-base
6
+ - gcc-14
6
7
- bash
7
8
- patch
8
9
dependencies :
9
10
- image : cgr.dev/chainguard/wolfi-base@{{ .WOLFI_BASE_REF }}
10
11
steps :
11
- - sources :
12
+ - env :
13
+ CC : gcc-14
14
+ CXX : g++-14
15
+ sources :
12
16
- url : https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-{{ .LIBCAP_VERSION }}.tar.xz
13
17
destination : libcap.tar.xz
14
18
sha256 : {{ .LIBCAP_SHA256 }}
Original file line number Diff line number Diff line change @@ -3,12 +3,16 @@ variant: scratch
3
3
shell : /bin/bash
4
4
install :
5
5
- build-base
6
+ - gcc-14
6
7
- bash
7
8
- gperf
8
9
dependencies :
9
10
- image : cgr.dev/chainguard/wolfi-base@{{ .WOLFI_BASE_REF }}
10
11
steps :
11
- - sources :
12
+ - env :
13
+ CC : gcc-14
14
+ CXX : g++-14
15
+ sources :
12
16
- url : https://github.com/seccomp/libseccomp/releases/download/v{{ .LIBSECCOMP_VERSION }}/libseccomp-{{ .LIBSECCOMP_VERSION }}.tar.gz
13
17
destination : libseccomp.tar.gz
14
18
sha256 : {{ .LIBSECCOMP_SHA256 }}
Original file line number Diff line number Diff line change @@ -4,12 +4,16 @@ variant: scratch
4
4
shell : /bin/bash
5
5
install :
6
6
- build-base
7
+ - gcc-14
7
8
- bash
8
9
- autoconf
9
10
dependencies :
10
11
- image : cgr.dev/chainguard/wolfi-base@{{ .WOLFI_BASE_REF }}
11
12
steps :
12
- - sources :
13
+ - env :
14
+ CC : gcc-14
15
+ CXX : g++-14
16
+ sources :
13
17
- url : https://src.fedoraproject.org/lookaside/extras/libtirpc/libtirpc-{{ .LIBTIRPC_VERSION | replace "-" "." }}.tar.bz2/sha512/df0781a74ff9ded2d3c4f5eb7e05496b9f58eac8060c02c68331dc14c4a00304dcd19f46836f5756fe0d9d27095fd463d42dd696fcdff891516711b7d63deabe/libtirpc-{{ .LIBTIRPC_VERSION | replace "-" "." }}.tar.bz2
14
18
destination : libtirpc.tar.bz2
15
19
sha256 : {{ .LIBTIRPC_SHA256 }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ variant: scratch
3
3
shell : /bin/bash
4
4
install :
5
5
- build-base
6
+ - gcc-14
6
7
- bash
7
8
- go
8
9
- coreutils
33
34
sha256 : {{ .LIBNVIDIA_CONTAINER_SHA256 }}
34
35
sha512 : {{ .LIBNVIDIA_CONTAINER_SHA512 }}
35
36
env :
37
+ CC : gcc-14
38
+ CXX : g++-14
36
39
SOURCE_DATE_EPOCH : {{ .BUILD_ARG_SOURCE_DATE_EPOCH }}
37
40
REVISION : {{ .LIBNVIDIA_CONTAINER_REF }}
38
41
LIB_VERSION : {{ .LIBNVIDIA_CONTAINER_VERSION | replace "v" "" }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ variant: scratch
3
3
shell : /bin/bash
4
4
install :
5
5
- build-base
6
+ - gcc-14
6
7
- bash
7
8
- go
8
9
- coreutils
33
34
sha256 : {{ .LIBNVIDIA_CONTAINER_SHA256 }}
34
35
sha512 : {{ .LIBNVIDIA_CONTAINER_SHA512 }}
35
36
env :
37
+ CC : gcc-14
38
+ CXX : g++-14
36
39
SOURCE_DATE_EPOCH : {{ .BUILD_ARG_SOURCE_DATE_EPOCH }}
37
40
REVISION : {{ .LIBNVIDIA_CONTAINER_REF }}
38
41
LIB_VERSION : {{ .LIBNVIDIA_CONTAINER_VERSION | replace "v" "" }}
Original file line number Diff line number Diff line change @@ -3,11 +3,15 @@ variant: scratch
3
3
shell : /bin/bash
4
4
install :
5
5
- build-base
6
+ - gcc-14
6
7
- bash
7
8
dependencies :
8
9
- image : cgr.dev/chainguard/wolfi-base@{{ .WOLFI_BASE_REF }}
9
10
steps :
10
- - sources :
11
+ - env :
12
+ CC : gcc-14
13
+ CXX : g++-14
14
+ sources :
11
15
- url : https://zlib.net/fossils/zlib-{{ .ZLIB_VERSION }}.tar.gz
12
16
destination : zlib.tar.gz
13
17
sha256 : {{ .ZLIB_SHA256 }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ variant: scratch
3
3
shell : /bin/bash
4
4
install :
5
5
- build-base
6
+ - gcc-14
6
7
- bash
7
8
- go
8
9
- patch
15
16
sha256 : {{ .CONTAINER_TOOLKIT_SHA256 }}
16
17
sha512 : {{ .CONTAINER_TOOLKIT_SHA512 }}
17
18
env :
19
+ CC : gcc-14
20
+ CXX : g++-14
18
21
GIT_COMMIT : {{ substr 0 7 .CONTAINER_TOOLKIT_REF }} # build is using short sha
19
22
prepare :
20
23
- |
Original file line number Diff line number Diff line change @@ -9,7 +9,10 @@ dependencies:
9
9
# so any stage depending on nvidia-pkgs will have the updated cache
10
10
- stage : glibc
11
11
steps :
12
- - sources :
12
+ - env :
13
+ CC : gcc-14
14
+ CXX : g++-14
15
+ sources :
13
16
# {{ if eq .ARCH "aarch64" }} This in fact is YAML comment, but Go templating instruction is evaluated by bldr
14
17
- url : https://developer.download.nvidia.com/compute/nvidia-driver/redist/nvidia_driver/linux-sbsa/nvidia_driver-linux-sbsa-{{ .NVIDIA_DRIVER_LTS_VERSION }}-archive.tar.xz
15
18
destination : nvidia.tar.xz
You can’t perform that action at this time.
0 commit comments