2017-05-21 22:37:47 +00:00
|
|
|
FROM ubuntu:17.04
|
2017-05-09 10:07:56 +00:00
|
|
|
|
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install --yes --no-install-recommends \
|
|
|
|
curl \
|
|
|
|
python3 \
|
|
|
|
python3-pip \
|
|
|
|
python3-setuptools \
|
|
|
|
git && \
|
|
|
|
apt-get clean && apt-get purge
|
|
|
|
|
2017-05-28 01:06:56 +00:00
|
|
|
# FIXME: Remove this if pip install with setup.py can do it instead?
|
2017-05-09 10:07:56 +00:00
|
|
|
COPY install-s2i.bash /usr/local/bin/install-s2i.bash
|
|
|
|
RUN /usr/local/bin/install-s2i.bash
|
|
|
|
|
2017-05-09 20:39:50 +00:00
|
|
|
RUN mkdir /tmp/src
|
|
|
|
ADD . /tmp/src
|
2017-05-28 01:06:56 +00:00
|
|
|
RUN pip3 install --no-cache-dir /tmp/src
|
2017-05-09 10:07:56 +00:00
|
|
|
|