-
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.
fixed the eigen download link in Dockerfile
- Loading branch information
Showing
1 changed file
with
6 additions
and
5 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 |
---|---|---|
|
@@ -2,19 +2,20 @@ FROM alpine:3.10.2 | |
LABEL maintainer "Masaki Waga <[email protected]>" | ||
|
||
# Install depending packages | ||
RUN apk add --no-cache g++ make cmake bison flex-dev eigen-dev boost-dev doxygen git | ||
RUN apk add --no-cache g++=8.3.0-r0 make=4.2.1-r2 cmake=3.14.5-r0 bison=3.3.2-r0 flex-dev=2.6.4-r2 eigen-dev=3.3.7-r0 boost-dev=1.69.0-r4 git=2.22.5-r0 | ||
|
||
# Download cmake configuration for eigen | ||
RUN wget http://bitbucket.org/eigen/eigen/get/3.3.7.tar.gz && tar xvf 3.3.7.tar.gz && mv eigen-* eigen | ||
RUN wget -q https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.tar.bz2 && tar xvf eigen-3.3.7.tar.bz2 && mv eigen-3.3.7 eigen | ||
|
||
# Download the MONAA source | ||
RUN git clone https://github.com/MasWag/monaa.git | ||
|
||
# Build MONAA | ||
RUN mkdir -p monaa/build && cd monaa/build && cmake -DCMAKE_MODULE_PATH=/eigen/cmake -DCMAKE_BUILD_TYPE=Release .. && make monaa && make install | ||
RUN mkdir -p monaa/build | ||
WORKDIR ${HOME}/monaa/build | ||
RUN cmake -DCMAKE_MODULE_PATH=/eigen/cmake -DCMAKE_BUILD_TYPE=Release .. && make monaa && make install | ||
|
||
# Uninstall build only dependencies | ||
RUN apk del --no-cache make cmake bison flex eigen-dev doxygen git | ||
RUN rm -rf /monaa /eigen | ||
RUN apk del --no-cache make cmake bison flex eigen-dev doxygen git && rm -rf /monaa /eigen | ||
|
||
ENTRYPOINT ["/usr/local/bin/monaa"] |