-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add docker for v11 * Reduce docker image size by cleaning vcpkg tmp files after build * After review
- Loading branch information
Showing
8 changed files
with
93 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.vs | ||
.vscode | ||
Builds/* | ||
Testing/* | ||
.idea | ||
cmake-build-debug | ||
cmake-build-release | ||
build | ||
external/vcpkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,5 +37,6 @@ Builds/* | |
Testing/* | ||
.idea | ||
cmake-build-debug | ||
cmake-build-release | ||
build | ||
external/vcpkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM nvidia/cuda:11.7.1-devel-ubuntu22.04 | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt update | ||
|
||
RUN apt install -y cmake | ||
|
||
# Install vcpkg dependencies | ||
RUN apt install -y \ | ||
git \ | ||
curl \ | ||
zip \ | ||
unzip \ | ||
tar \ | ||
pkg-config \ | ||
freeglut3-dev \ | ||
python3 | ||
|
||
# Install RGL dependencies via vcpkg | ||
COPY setup.bash / | ||
RUN /setup.bash | ||
RUN rm /setup.bash | ||
|
||
WORKDIR /code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FROM nvidia/cuda:11.2.0-devel-ubuntu20.04 | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt update | ||
|
||
# Install cmake from PIP since 3.17 is needed | ||
RUN apt install -y \ | ||
python3-pip | ||
RUN pip3 install cmake --upgrade | ||
|
||
# Install vcpkg dependencies | ||
RUN apt install -y \ | ||
git \ | ||
curl \ | ||
zip \ | ||
unzip \ | ||
tar \ | ||
pkg-config \ | ||
freeglut3-dev \ | ||
python3 | ||
|
||
# Install RGL dependencies via vcpkg | ||
COPY setup.bash / | ||
RUN /setup.bash | ||
RUN rm /setup.bash | ||
|
||
WORKDIR /code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters