summaryrefslogtreecommitdiffstats
path: root/test/docker/ubuntu14/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/docker/ubuntu14/Dockerfile')
-rw-r--r--test/docker/ubuntu14/Dockerfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/docker/ubuntu14/Dockerfile b/test/docker/ubuntu14/Dockerfile
new file mode 100644
index 0000000..6a8a1d5
--- /dev/null
+++ b/test/docker/ubuntu14/Dockerfile
@@ -0,0 +1,24 @@
+FROM ubuntu:14.04
+
+RUN export DEBIAN_FRONTEND=noninteractive \
+ && apt-get update \
+ && apt-get -y upgrade \
+ && apt-get -y --no-install-recommends install \
+ autoconf \
+ automake \
+ make \
+ software-properties-common \
+ xvfb \
+ && python3.4 -c "import urllib.request; urllib.request.urlretrieve('https://github.com/pyston/pyston/releases/download/pyston_2.3.1/pyston_2.3.1_portable_v2.tar.gz', '/tmp/pyston.tar.gz')" \
+ && tar xCf /usr/local /tmp/pyston.tar.gz --strip-components=1
+
+ADD test-cmd-list.txt \
+ requirements.txt \
+ docker/ubuntu14/install-packages.sh \
+ /tmp/
+
+RUN set -x \
+ && pyston3 -m pip install -Ir /tmp/requirements.txt
+
+RUN /tmp/install-packages.sh </tmp/test-cmd-list.txt \
+ && rm -r /tmp/* /root/.cache/pip /var/lib/apt/lists/*