Merge pull request #87 from yuvipanda/master

Switch base image to alpine + fix typo causing CI to fail
pull/90/head
Yuvi Panda 2017-10-04 17:56:14 -07:00 zatwierdzone przez GitHub
commit 52f7418de5
2 zmienionych plików z 2 dodań i 9 usunięć

Wyświetl plik

@ -1,12 +1,5 @@
FROM ubuntu:17.04
FROM python:3.6.3-alpine3.6
RUN apt-get update && \
apt-get install --yes --no-install-recommends \
python3 \
python3-pip \
python3-setuptools \
git && \
apt-get clean && apt-get purge
RUN mkdir /tmp/src
ADD . /tmp/src

Wyświetl plik

@ -6,6 +6,6 @@ VERSION=$(git rev-parse --short HEAD)
docker build -t jupyter/repo2docker:${VERSION} .
if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then
docker login -u ${DOCKER_USERNAME} -p "${DOCKER_PASSWORD}"
docker login -u ${DOCKER_LOGIN} -p "${DOCKER_PASSWORD}"
docker push jupyter/rep2docker:${VERSION}
fi