-
-
Notifications
You must be signed in to change notification settings - Fork 118
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 #1745 from DGtal-team/cgal6.0
Fixing CGAL 6.0 breaking change.
- Loading branch information
Showing
3 changed files
with
32 additions
and
22 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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#Download base image | ||
ARG UBUNTU_VERSION=20.04 | ||
ARG UBUNTU_VERSION=22.04 | ||
FROM ubuntu:${UBUNTU_VERSION} as base | ||
# LABEL about the custom image | ||
LABEL maintainer="[email protected]" | ||
LABEL maintainer="[email protected]" | ||
LABEL version="0.0.1" | ||
LABEL description="This Docker is for the Dgtal library installation." | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
@@ -29,12 +29,9 @@ RUN apt -y install mesa-common-dev libglm-dev mesa-utils | |
### Install cmake | ||
RUN apt -y install cmake | ||
###Install boost | ||
RUN apt -y install libboost-all-dev | ||
###Install clang-9 | ||
RUN apt -y install clang-9 | ||
|
||
RUN apt -y install libcgal* | ||
RUN apt -y install libboost-dev | ||
|
||
### Install optional deps | ||
RUN apt -y install libmagick++-dev | ||
|
||
RUN apt -y install graphicsmagick* | ||
|
@@ -43,33 +40,31 @@ RUN apt -y install doxygen | |
|
||
RUN apt -y install libcgal-dev | ||
|
||
RUN apt -y install libinsighttoolkit4-dev | ||
|
||
RUN apt -y install libqglviewer-dev-qt5 | ||
#RUN apt-get -y install libinsighttoolkit4-dev | ||
|
||
RUN apt -y install libgmp-dev | ||
#RUN apt -y install libqglviewer-dev-qt5 | ||
|
||
RUN apt -y install libeigen3-dev | ||
#RUN apt -y install libgmp-dev | ||
|
||
RUN apt -y install libfftw3-dev | ||
#RUN apt -y install libfftw3-dev | ||
|
||
#### User to install | ||
RUN groupadd -g 1000 digital | ||
RUN useradd -d /home/digital -s /bin/bash -m digital -u 1000 -g 1000 | ||
RUN usermod -aG sudo digital | ||
#### | ||
|
||
RUN apt -y install mesa-common-dev libglm-dev mesa-utils | ||
#RUN apt -y install mesa-common-dev libglm-dev mesa-utils | ||
|
||
### Directory to store the git | ||
RUN mkdir /home/digital/git/ | ||
RUN mkdir /home/digital/git/DGtal | ||
|
||
|
||
#### clone git and install | ||
RUN git clone https://github.com/DGtal-team/DGtal.git /home/digital/git/DGtal | ||
#RUN git clone https://github.com/DGtal-team/DGtal.git /home/digital/git/DGtal | ||
|
||
RUN mkdir /home/digital/git/DGtal/build | ||
RUN cd /home/digital/git/DGtal/build && cmake .. -DWITH_GMP=true -DWITH_EIGEN=true -DWITH_FFTW3=true -DWITH_CGAL=true -DWITH_ITK=true -DWITH_OPENMP=true -DWITH_CAIRO=true -DWITH_QGLVIEWER=true -DWITH_MAGICK=true && make install | ||
#RUN mkdir /home/digital/git/DGtal/build | ||
#RUN cd /home/digital/git/DGtal/build && cmake .. -DWITH_GMP=true -DWITH_EIGEN=true -DWITH_FFTW3=true -DWITH_CGAL=true -DWITH_ITK=true -DWITH_OPENMP=true -DWITH_CAIRO=true -DWITH_QGLVIEWER=true -DWITH_MAGICK=true && make install | ||
|
||
|
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