-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
48 lines (37 loc) · 1.64 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
FROM tensorflow/tensorflow:1.13.1
VOLUME /project
WORKDIR /project
# Basic info
RUN cat /etc/*release && python --version
# ZDoom dependencies
# RUN apt-get update && apt-get install -y libhdf5-dev \
# build-essential zlib1g-dev libsdl2-dev libjpeg-dev \
# nasm tar libbz2-dev bzip2 g++ libgtk2.0-dev cmake git libfluidsynth-dev libgme-dev \
# libgtk-3-dev libmpg123-dev libopenal-dev libsndfile1-dev timidity \
# libwildmidi-dev x11-apps unzip curl \
# && python --version
# ZDoom dependencies
RUN apt-get update && apt-get install -y build-essential zlib1g-dev libsdl2-dev libjpeg-dev \
nasm tar libbz2-dev libgtk2.0-dev cmake git libfluidsynth-dev libgme-dev \
libopenal-dev timidity libwildmidi-dev unzip curl && python --version
# Boost libraries
RUN apt-get install -y libboost-all-dev \
&& python --version
RUN apt-get install -y python-dev python-pip \
&& python -m pip install --upgrade pip
# Default python to python3
#RUN which python \
# && which python3 \
# && update-alternatives --install /usr/bin/python python /usr/bin/python3 10 \
# && apt-get install -y python3-dev python3-pip \
# && python --version
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
## code formatter (https://github.com/ryantam626/jupyterlab_code_formatter)
#RUN apt-get install -y curl python-software-properties \
# && curl -sL https://deb.nodesource.com/setup_10.x | bash - \
# && apt-get install -y nodejs \
# && jupyter labextension install @ryantam626/jupyterlab_code_formatter \
# && pip install jupyterlab_code_formatter \
# && jupyter serverextension enable --py jupyterlab_code_formatter
EXPOSE 8888