forked from mmp/pbrt-v4
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 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,26 @@ | ||
FROM ubuntu:22.04 as pbrt | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Update the package lists | ||
RUN apt-get update | ||
|
||
# Install any necessary packages for building the application | ||
RUN apt-get install -y build-essential git cmake | ||
|
||
# Set the working directory | ||
WORKDIR /app | ||
RUN git clone --recursive https://github.com/huongoss/tev-docker.git | ||
|
||
RUN apt-get install -y xorg-dev libglu1-mesa-dev zlib1g-dev zenity | ||
|
||
# Set the working directory | ||
WORKDIR /app/tev | ||
|
||
RUN cmake . -B build && \ | ||
cmake --build build --config Release -j && \ | ||
cp build/tev /usr/local/bin/ | ||
|
||
|
||
# Specify the command to run when the container starts | ||
ENTRYPOINT [ "/usr/local/bin/tev" ] |
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