Skip to content

Commit 2d7018e

Browse files
author
Matthew Fisher
committed
fix(registry): checkout from a known sha
This way, we can bust the cache when we rebase the branch.
1 parent c7a22ed commit 2d7018e

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

registry/Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ RUN wget -qO- https://raw.githubusercontent.com/pypa/pip/1.5.5/contrib/get-pip.p
1313
RUN useradd -s /bin/bash registry
1414

1515
# add the docker registry source from github
16-
RUN git clone https://github.com/deis/docker-registry /docker-registry
17-
RUN chown -R registry:registry /docker-registry
18-
19-
# lock the registry version to a tag
20-
RUN cd /docker-registry && git checkout repository-import
16+
RUN git clone https://github.com/deis/docker-registry /docker-registry && \
17+
cd /docker-registry && \
18+
git checkout fc3b691 && \
19+
chown -R registry:registry /docker-registry
2120

2221
# install boto configuration
2322
RUN cp /docker-registry/config/boto.cfg /etc/boto.cfg

0 commit comments

Comments
 (0)