From a59ed9f1db0b5ac9ca13d686b3379208b1231f6f Mon Sep 17 00:00:00 2001 From: Hyunsu Cho Date: Sat, 7 Dec 2024 23:42:46 -0800 Subject: [PATCH] Fix gpu_build_r_rockylinux8 --- containers/dockerfile/Dockerfile.gpu_build_r_rockylinux8 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/containers/dockerfile/Dockerfile.gpu_build_r_rockylinux8 b/containers/dockerfile/Dockerfile.gpu_build_r_rockylinux8 index 709cbd2..d7ea9cb 100644 --- a/containers/dockerfile/Dockerfile.gpu_build_r_rockylinux8 +++ b/containers/dockerfile/Dockerfile.gpu_build_r_rockylinux8 @@ -7,7 +7,7 @@ ARG CMAKE_VERSION=3.31.2 SHELL ["/bin/bash", "-c"] -ENV PATH=/opt/miniforge/bin:/usr/local/ninja:/opt/software/packages/bin:/opt/R/$R_VERSION/bin:$PATH +ENV PATH=/usr/local/ninja:/opt/software/packages/bin:$PATH ENV LD_LIBRARY_PATH=/opt/software/packages/lib:/opt/R/$R_VERSION/lib64:$LD_LIBRARY_PATH ENV CC=/opt/rh/gcc-toolset-10/root/usr/bin/gcc ENV CXX=/opt/rh/gcc-toolset-10/root/usr/bin/c++ @@ -44,6 +44,8 @@ RUN \ make -j$(nproc) && \ make install +ENV PATH=/opt/miniforge/bin:$PATH + # Install lightweight sudo (not bound to TTY) RUN set -ex; \ wget -nv -nc -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-amd64" && \