Remove automated docker cloud hooks
MODIFY
Dockerfile
Dockerfile
@@ -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 \

DELETE
hooks/README.md
-# Docker build hooks
-
-These define our [custom hooks for docker automated builds](https://docs.docker.com/docker-hub/builds/advanced/#custom-build-phase-hooks)

DELETE
hooks/post_push
-#!/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"

Remove automated docker cloud hooks