Docker: Major refactoring (#87)

This commit is contained in:
Ole Schütt 2018-11-08 13:56:15 +01:00 committed by GitHub
parent 30e41bb77a
commit 4a97bb7342
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
77 changed files with 1031 additions and 1051 deletions

View file

@ -0,0 +1,36 @@
#!/bin/bash -e
# author: Ole Schuett
# install Ubuntu packages
apt-get update
apt-get install -y --no-install-recommends \
python \
python3 \
python-pip \
python3-pip \
python-wheel \
python3-wheel \
python-setuptools \
python3-setuptools \
python-dev \
python3-dev \
build-essential
rm -rf /var/lib/apt/lists/*
# install python packages
pip install numpy matplotlib requests
pip3 install numpy matplotlib requests
# install python2.6
cd /tmp
wget -q https://www.python.org/ftp/python/2.6.9/Python-2.6.9.tgz
tar -xzf Python-2.6.9.tgz
pushd Python-2.6.9
./configure
make -j
make install
popd
rm -rf Python-2.6.9*
#EOF