-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from UG4/main
main->master
- Loading branch information
Showing
2 changed files
with
87 additions
and
76 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
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,27 @@ | ||
# syntax=docker/dockerfile:1 | ||
FROM ubuntu:24.04 | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install ug4 dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
python3 \ | ||
git \ | ||
cmake \ | ||
build-essential | ||
|
||
# Setup ughub | ||
WORKDIR /opt/ | ||
RUN git clone https://github.com/UG4/ughub | ||
ENV PATH="$PATH:/opt/ughub" | ||
|
||
# Setup minimal ug4 | ||
WORKDIR /opt/ug4 | ||
ENV UG4_ROOT=/opt/ug4/ | ||
RUN ughub init | ||
RUN ughub install ugcore | ||
|
||
# Build ug4 | ||
WORKDIR ${UG4_ROOT}/build | ||
RUN cmake .. -DENABLE_ALL_PLUGINS=OFF -DCOMPILE_INFO=OFF -DCMAKE_BUILD_TYPE=Release | ||
RUN make -j | ||
RUN make install |