From 7f9c56ab05baea3b56ad842974f4999fb06b9e10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Fri, 1 Jul 2016 20:42:40 +0200 Subject: [PATCH] Keep using an old version of https://github.com/openshift/origin/pull/9181 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I don’t know how to checkout a specific untagged commit ( 9ff4bf43548c758b6767b639b335681285fece48 ) from the original repo, so I have forked the project and fetched that commit from a cached Docker image. We should instead update the containers/image client for the new API ASAP, and then the github.com/mtrmac/origin repo should be removed. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c87cecf7..cd72b75b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,7 +44,8 @@ RUN set -x \ && yum install -y which git tar wget hostname util-linux bsdtar socat ethtool device-mapper iptables tree findutils nmap-ncat e2fsprogs xfsprogs lsof docker iproute \ && export GOPATH=$(mktemp -d) \ # && git clone git://github.com/openshift/origin "$GOPATH/src/github.com/openshift/origin" \ - && git clone -b image-signatures-rest git://github.com/miminar/origin "$GOPATH/src/github.com/openshift/origin" \ + # && git clone -b image-signatures-rest git://github.com/miminar/origin "$GOPATH/src/github.com/openshift/origin" \ + && git clone -b image-signatures-rest-backup git://github.com/mtrmac/origin "$GOPATH/src/github.com/openshift/origin" \ && (cd "$GOPATH/src/github.com/openshift/origin" && make clean build && make all WHAT=cmd/dockerregistry) \ && cp -a "$GOPATH/src/github.com/openshift/origin/_output/local/bin/linux"/*/* /usr/local/bin \ && cp "$GOPATH/src/github.com/openshift/origin/images/dockerregistry/config.yml" /atomic-registry-config.yml \