From a13f548b189677a7cfbd2fdb569db5bdbafd1386 Mon Sep 17 00:00:00 2001 From: Masaki Waga Date: Wed, 29 May 2024 10:01:06 +0900 Subject: [PATCH] Updated Dockerfile --- docker/Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 2160ebc..5e16c74 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,22 +1,22 @@ -FROM alpine:3.15.2 +FROM alpine:3.20.0 LABEL maintainer "Masaki Waga " # Install depending packages -RUN apk add --no-cache g++=10.3.1_git20211027-r0 make=4.3-r0 cmake=3.21.3-r0 bison=3.7.6-r0 flex-dev=2.6.4-r2 eigen-dev=3.4.0-r0 boost-dev=1.77.0-r1 git=2.34.2-r0 +RUN apk add --no-cache g++=13.2.1_git20240309-r0 make=4.4.1-r2 cmake=3.29.3-r0 bison=3.8.2-r1 flex-dev=2.6.4-r6 eigen-dev=3.4.0-r10 boost-dev=1.84.0-r1 git=2.45.1-r0 # Download cmake configuration for 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 +RUN wget -q https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.bz2 && tar xvf eigen-3.4.0.tar.bz2 && mv eigen-3.4.0 eigen # Download the MONAA source RUN git clone https://github.com/MasWag/monaa.git # Build MONAA RUN mkdir -p monaa/build -WORKDIR ${HOME}/monaa/build +WORKDIR /monaa/build RUN cmake -DCMAKE_MODULE_PATH=/eigen/cmake -DCMAKE_BUILD_TYPE=Release .. && make monaa && make install # Uninstall build only dependencies WORKDIR / -RUN apk del --no-cache make cmake bison flex eigen-dev doxygen git && rm -rf /monaa /eigen /eigen-3.3.7.tar.bz2 +RUN apk del --no-cache make cmake bison flex eigen-dev doxygen git && rm -rf /monaa /eigen /eigen-3.4.0.tar.bz2 ENTRYPOINT ["/usr/local/bin/monaa"]