Add a simple but fully functional Dockerfile

pull/2/head
yuvipanda 2017-05-09 03:07:56 -07:00
rodzic e7d51c3fe9
commit 53268f2d74
2 zmienionych plików z 21 dodań i 0 usunięć

16
Dockerfile 100644
Wyświetl plik

@ -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

5
install-s2i.bash 100755
Wyświetl plik

@ -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