-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
37 lines (27 loc) · 910 Bytes
/
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
FROM arwineap/docker-ubuntu-python3.6
RUN apt-get update
# Install latest version of python3
RUN apt install -y python3.8
RUN pip install --upgrade setuptools
RUN apt-get install -y python3.8-dev build-essential
RUN apt-get install -y libblas-dev libatlas-base-dev
# Upgrade pip
RUN pip install --upgrade pip
RUN apt-get install -y python3-tk
RUN apt install -y libglib2.0-0
RUN apt install -y libsm6 libxext6
# Install git
RUN apt-get install -y git-core
# Install vim
RUN apt install -y vim
RUN pip install jupyter -U && pip install jupyterlab
# Bind python3.6 to python
RUN touch ~/.bash_aliases
RUN echo alias python=\'/usr/bin/python3.6\' >> ~/.bash_aliases
# Create a working directory to work from
RUN mkdir working
# Always start from /working
RUN chmod 777 \/working
ENTRYPOINT ["/working"]
# Install bindsnet and dependencies
RUN pip install -U git+https://github.com/BindsNET/bindsnet.git