-
Notifications
You must be signed in to change notification settings - Fork 6
/
Dockerfile
17 lines (15 loc) · 871 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM jsreid13/py_dreal4:stable
MAINTAINER [email protected]
WORKDIR /home
RUN apt update \
&& apt install -y --no-install-recommends wget git
RUN wget https://bootstrap.pypa.io/get-pip.py \
&& python3 get-pip.py
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
# Install OpenModellica, uncomment if you want to use
# RUN for deb in deb deb-src; do echo "$deb http://build.openmodelica.org/apt `awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release | awk '{print $1}' | awk '{ print tolower($0) }'` stable"; done | tee /etc/apt/sources.list.d/openmodelica.list
# RUN wget -q http://build.openmodelica.org/apt/openmodelica.asc -O- | apt-key add - \
# && apt update \
# && apt install -y --no-install-recommends openmodelica \
# && python3 -m pip install -U https:/OpenModelica/OMPython/archive/master.zip