Debian Codegraph @

ci/docker/Dockerfile.bionic.py3

raw
1 FROM ubuntu:bionic-20180821
2
3 ENV APP_DIR=/app
4 RUN mkdir $APP_DIR
5 WORKDIR $APP_DIR
6
7 # install default packages
8 RUN apt-get update && \
9 apt-get -y --force-yes install \
10 build-essential \
11 python3-setuptools \
12 python3.6-dev \
13 openjdk-8-jdk \
14 lshw \
15 wget \
16 git \
17 && apt-get -y autoremove \
18 && apt-get -y clean
19
20 # generate user folder locations (Pictures, Downloads, ...)
21 RUN xdg-user-dirs-update
22
23 # install PIP
24 RUN wget https://bootstrap.pypa.io/get-pip.py -O get-pip3.py
25 RUN python3.6 -V && \
26 python3.6 get-pip3.py && \
27 rm get-pip3.py && \
28 python3.6 -m pip install --upgrade pip
29
30 # install dev packages
31 COPY devrequirements.txt .
32 RUN python3.6 -m pip install \
33 --upgrade \
34 --requirement devrequirements.txt
35 RUN python3.6 -m pip install pyjnius
36
37 COPY . $APP_DIR
38 COPY ./ci/entrypoint.sh $APP_DIR
39 RUN python3.6 -m pip install .
40 ENTRYPOINT ["/app/entrypoint.sh", "py3"]