kopia lustrzana https://github.com/jupyterhub/repo2docker
Remove automated docker cloud hooks
rodzic
297c7955d2
commit
97ca881a01
|
@ -5,8 +5,7 @@ RUN apk add --no-cache git python3 python3-dev py-pip build-base
|
|||
|
||||
# build wheels in first image
|
||||
ADD . /tmp/src
|
||||
# restore the hooks directory so that the repository isn't marked as dirty
|
||||
RUN cd /tmp/src && git clean -xfd && git checkout -- hooks && git status
|
||||
RUN cd /tmp/src && git clean -xfd && git status
|
||||
RUN mkdir /tmp/wheelhouse \
|
||||
&& cd /tmp/wheelhouse \
|
||||
&& pip3 install wheel \
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
# Docker build hooks
|
||||
|
||||
These define our [custom hooks for docker automated builds](https://docs.docker.com/docker-hub/builds/advanced/#custom-build-phase-hooks)
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# when building jupyter/repo2docker:main
|
||||
# also push jupyter/repo2docker:1.2.3-3.abcd1234 (replace + with -)
|
||||
version=$(docker run $DOCKER_REPO:$DOCKER_TAG jupyter-repo2docker --version | sed s@+@-@)
|
||||
VERSION_IMAGE="$DOCKER_REPO:$version"
|
||||
docker tag $DOCKER_REPO:$DOCKER_TAG "$VERSION_IMAGE"
|
||||
docker push "$VERSION_IMAGE"
|
Ładowanie…
Reference in New Issue