-
Notifications
You must be signed in to change notification settings - Fork 12
/
Dockerfile
49 lines (42 loc) · 1.68 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
FROM continuumio/miniconda3 AS parastell-deps
ENV TZ=America/Chicago
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update -y
RUN apt-get upgrade -y
# Install dependencies
RUN apt-get install -y libgl1-mesa-glx \
libgl1-mesa-dev \
libglu1-mesa-dev \
freeglut3-dev \
libosmesa6 \
libosmesa6-dev \
libgles2-mesa-dev \
curl \
wget \
libx11-6 \
libxt6 \
libgl1 \
libxcb-icccm4 \
libxcb-image0 \
libxcb-keysyms1 \
libxcb-render-util0 \
libxkbcommon-x11-0 \
libxcb-randr0 \
libxcb-xinerama0 \
libxm4 \
libtiff5-dev \
libxcursor1 \
libxinerama1
# Download Coreform Cubit
RUN wget -O /cubit.deb https://f002.backblazeb2.com/file/cubit-downloads/Coreform-Cubit/Releases/Linux/Coreform-Cubit-2023.11%2B43088-Lin64.deb
# Install Cubit
RUN dpkg -i cubit.deb
ENV PYTHONPATH=/opt/Coreform-Cubit-2023.11/bin/
COPY ./rlmcloud.in /opt/Coreform-Cubit-2023.11/bin/licenses/rlmcloud.in
RUN mkdir -p /opt/etc
RUN cp /root/.bashrc /opt/etc/bashrc
# Install Python dependencies in parastell env conda environment
COPY ./environment.yml /environment.yml
RUN conda env create -f environment.yml
RUN echo "conda activate parastell_env" >> /opt/etc/bashrc
WORKDIR /