kopia lustrzana https://github.com/jupyterhub/repo2docker
Add a simple but fully functional Dockerfile
rodzic
e7d51c3fe9
commit
53268f2d74
|
@ -0,0 +1,16 @@
|
|||
FROM ubuntu:16.10
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install --yes --no-install-recommends \
|
||||
curl \
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-setuptools \
|
||||
git && \
|
||||
apt-get clean && apt-get purge
|
||||
|
||||
COPY install-s2i.bash /usr/local/bin/install-s2i.bash
|
||||
RUN /usr/local/bin/install-s2i.bash
|
||||
|
||||
RUN pip3 install --no-cache-dir git+https://github.com/yuvipanda/builder@e7d51c3
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
cd /usr/local/bin/ && curl -L https://github.com/openshift/source-to-image/releases/download/v1.1.5/source-to-image-v1.1.5-4dd7721-linux-amd64.tar.gz | tar xvz
|
||||
|
Ładowanie…
Reference in New Issue