File: Dockerfile

package info (click to toggle)
bash-completion 1%3A2.16.0-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,440 kB
  • sloc: python: 11,252; makefile: 2,471; sh: 934; perl: 85; awk: 55; xml: 29; ansic: 7; java: 5; ruby: 2
file content (24 lines) | stat: -rw-r--r-- 817 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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/*