kopia lustrzana https://github.com/jupyterhub/repo2docker
Merge pull request #87 from yuvipanda/master
Switch base image to alpine + fix typo causing CI to failpull/90/head
commit
52f7418de5
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue