Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
fix(registry): checkout from a known sha
Browse files Browse the repository at this point in the history
This way, we can bust the cache when we rebase the branch.
  • Loading branch information
Matthew Fisher committed Jul 21, 2014
1 parent c7a22ed commit 2d7018e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions registry/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ RUN wget -qO- https://raw.githubusercontent.com/pypa/pip/1.5.5/contrib/get-pip.p
RUN useradd -s /bin/bash registry

# add the docker registry source from github
RUN git clone https://github.com/deis/docker-registry /docker-registry
RUN chown -R registry:registry /docker-registry

# lock the registry version to a tag
RUN cd /docker-registry && git checkout repository-import
RUN git clone https://github.com/deis/docker-registry /docker-registry && \
cd /docker-registry && \
git checkout fc3b691 && \
chown -R registry:registry /docker-registry

# install boto configuration
RUN cp /docker-registry/config/boto.cfg /etc/boto.cfg
Expand Down

0 comments on commit 2d7018e

Please sign in to comment.