Browse Source

dockerfile cleanup

main
sp 3 weeks ago
parent
commit
34b8a4a91a
  1. 29
      dockerfile

29
dockerfile

@ -1,14 +1,5 @@
FROM movesrwth/storm-basesystem:ubuntu-22.04 as build FROM movesrwth/storm-basesystem:ubuntu-22.04 as build
#COPY ./tempest-devel /opt/tempest
#COPY ./tempest-py /opt/tempestpy
#COPY ./pycarl-2.0.4 /opt/pycarl
#COPY ./carl /opt/carl
# RUN rm -r /opt/tempest/.git
# RUN rm -r /opt/tempestpy/.git
# RUN rm -r /opt/Minigrid2PRISM/.git
RUN apt-get update RUN apt-get update
RUN apt-get install -y python3.10 RUN apt-get install -y python3.10
@ -31,22 +22,9 @@ WORKDIR /opt/tempest/build
RUN cmake .. -DCMAKE_BUILD_TYPE=Release -DSTORM_DEVELOPER=OFF -DSTORM_LOG_DISABLE_DEBUG=ON -DSTORM_PORTABLE=OFF -DSTORM_USE_SPOT_SHIPPED=ON RUN cmake .. -DCMAKE_BUILD_TYPE=Release -DSTORM_DEVELOPER=OFF -DSTORM_LOG_DISABLE_DEBUG=ON -DSTORM_PORTABLE=OFF -DSTORM_USE_SPOT_SHIPPED=ON
RUN make resources storm binaries -j $no_threads RUN make resources storm binaries -j $no_threads
RUN apt-get install -y maven
RUN apt-get install -y uuid-dev
# COPY ./carl-parser /opt/carl-parser
# # Switch to build directory
# RUN mkdir -p /opt/carl-parser/build
# WORKDIR /opt/carl-parser/build
# Configure carl-parser # Configure carl-parser
RUN cmake .. -DCMAKE_BUILD_TYPE=$build_type RUN cmake .. -DCMAKE_BUILD_TYPE=$build_type
# Build carl-parser
# RUN make carl-parser -j $no_threads
# Manage python packages # Manage python packages
WORKDIR /opt/ WORKDIR /opt/
RUN apt-get install -y python3-venv RUN apt-get install -y python3-venv
@ -87,13 +65,6 @@ WORKDIR /opt/Minigrid2PRISM/build
RUN cmake .. RUN cmake ..
RUN make -j $no_threads RUN make -j $no_threads
# build minigrid
#COPY ./Minigrid /opt/Minigrid
#RUN rm -r /opt/Minigrid/.git
#WORKDIR /opt/Minigrid
#RUN pip install .
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y