|
@@ -123,11 +123,11 @@ RUN set -x \
|
|
|
|
|
|
# TODO update this when we upgrade to Go 1.5.1+
|
|
|
# Install notary server
|
|
|
-#ENV NOTARY_COMMIT 8e8122eb5528f621afcd4e2854c47302f17392f7
|
|
|
+#ENV NOTARY_VERSION docker-v1.10-3
|
|
|
#RUN set -x \
|
|
|
# && export GOPATH="$(mktemp -d)" \
|
|
|
# && git clone https://github.com/docker/notary.git "$GOPATH/src/github.com/docker/notary" \
|
|
|
-# && (cd "$GOPATH/src/github.com/docker/notary" && git checkout -q "$NOTARY_COMMIT") \
|
|
|
+# && (cd "$GOPATH/src/github.com/docker/notary" && git checkout -q "$NOTARY_VERSION") \
|
|
|
# && GOPATH="$GOPATH/src/github.com/docker/notary/Godeps/_workspace:$GOPATH" \
|
|
|
# go build -o /usr/local/bin/notary-server github.com/docker/notary/cmd/notary-server \
|
|
|
# && rm -rf "$GOPATH"
|