File tree Expand file tree Collapse file tree 3 files changed +33
-3
lines changed
Expand file tree Collapse file tree 3 files changed +33
-3
lines changed Original file line number Diff line number Diff line change 1+ FROM nvcr.io/nvidia/cuda:12.9.1-devel-ubuntu20.04
2+
3+ RUN apt-get update
4+ RUN apt-get upgrade -y
5+ RUN apt-get install curl -y
6+
7+ ARG REINSTALL_CMAKE_VERSION_FROM_SOURCE="3.27.9"
8+
9+ # Optionally install the cmake for vcpkg
10+ COPY scripts/packages-install/reinstall-cmake.sh /tmp/
11+
12+ RUN if [ "${REINSTALL_CMAKE_VERSION_FROM_SOURCE}" != "none" ]; then \
13+ chmod +x /tmp/reinstall-cmake.sh && /tmp/reinstall-cmake.sh ${REINSTALL_CMAKE_VERSION_FROM_SOURCE}; \
14+ fi \
15+ && rm -f /tmp/reinstall-cmake.sh
16+
17+
18+
19+ # [Optional] Uncomment this section to install additional vcpkg ports.
20+ # RUN su vscode -c "${VCPKG_ROOT}/vcpkg install <your-port-name-here>"
21+
22+ # [Optional] Uncomment this section to install additional packages.
23+ # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
24+ # && apt-get -y install --no-install-recommends <your-package-list-here>
Original file line number Diff line number Diff line change 44 "name" : " CUDA" ,
55 "build" : {
66 "context" : " ../.." ,
7- "dockerfile" : " ../../ Dockerfile"
7+ "dockerfile" : " Dockerfile"
88 },
99
1010 "runArgs" : [
Original file line number Diff line number Diff line change @@ -22,9 +22,15 @@ RUN if [ "${REINSTALL_CMAKE_VERSION_FROM_SOURCE}" != "none" ]; then \
2222# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
2323# && apt-get -y install --no-install-recommends <your-package-list-here>
2424
25- WORKDIR build
25+ WORKDIR /app/tensor-array
26+ COPY src/ /src/
27+ COPY CMakeLists.txt /
28+ COPY Config.cmake.in /
29+ WORKDIR /app/tensor-array
30+
31+ WORKDIR /tensor-array/build
2632
2733RUN cmake ..
2834RUN make install
2935
30- WORKDIR .
36+ WORKDIR /app/tensor-array
You can’t perform that action at this time.
0 commit comments