kopia lustrzana https://github.com/jupyterhub/repo2docker
Cleanup Dockerfile + Manifest
rodzic
c018af3564
commit
b23f088ae8
|
@ -2,17 +2,12 @@ FROM ubuntu:17.04
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install --yes --no-install-recommends \
|
apt-get install --yes --no-install-recommends \
|
||||||
curl \
|
|
||||||
python3 \
|
python3 \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
git && \
|
git && \
|
||||||
apt-get clean && apt-get purge
|
apt-get clean && apt-get purge
|
||||||
|
|
||||||
# FIXME: Remove this if pip install with setup.py can do it instead?
|
|
||||||
COPY install-s2i.bash /usr/local/bin/install-s2i.bash
|
|
||||||
RUN /usr/local/bin/install-s2i.bash
|
|
||||||
|
|
||||||
RUN mkdir /tmp/src
|
RUN mkdir /tmp/src
|
||||||
ADD . /tmp/src
|
ADD . /tmp/src
|
||||||
RUN pip3 install --no-cache-dir /tmp/src
|
RUN pip3 install --no-cache-dir /tmp/src
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
exclude repo2docker/s2i
|
|
||||||
include Dockerfile
|
|
||||||
include *.md
|
include *.md
|
||||||
include LICENSE
|
include LICENSE
|
||||||
include setup.cfg
|
include setup.cfg
|
||||||
|
|
||||||
graft s2i-builders
|
|
||||||
|
|
Ładowanie…
Reference in New Issue