Skip to content

Commit

Permalink
Fix gpu_build_r_rockylinux8
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Dec 8, 2024
1 parent fbb178a commit a59ed9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion containers/dockerfile/Dockerfile.gpu_build_r_rockylinux8
Original file line number Diff line number Diff line change
Expand Up @@ -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++
Expand Down Expand Up @@ -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" && \
Expand Down

0 comments on commit a59ed9f

Please sign in to comment.