Skip to content

Commit 49297ec

Browse files
CUDA build script: only install security updates in container
1 parent b736f98 commit 49297ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/scripts/build-cuda.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ if [ "${build_os:0:6}" == ubuntu ]; then
3232
echo "Using image $image"
3333

3434
docker run -i -w /src -v "$PWD:/src" "$image" bash -c \
35-
"dnf update -y \
36-
&& dnf install cmake gcc-toolset-11 -y \
35+
"dnf -y --refresh update --security \
36+
&& dnf -y install cmake gcc-toolset-11 --setopt=install_weak_deps=False --setopt=tsflags=nodocs
3737
&& source scl_source enable gcc-toolset-11 \
3838
&& cmake -DCOMPUTE_BACKEND=cuda -DCOMPUTE_CAPABILITY=\"${build_capability}\" . \
3939
&& cmake --build . --config Release"

0 commit comments

Comments
 (0)