Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
Replace peep with pip hash checking when building docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
johngian committed Jun 2, 2016
1 parent 6f5d195 commit 936d1a3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Expand Up @@ -7,7 +7,7 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential libxml2-dev libxslt1-dev libffi-dev python-dev \
libmysqlclient-dev python-pip node-less locales && \
pip install --upgrade pip==7.0.3 && \
pip install --upgrade pip==8.0.3 && \
rm -rf /var/lib/apt/lists/*
RUN dpkg-reconfigure locales && locale-gen C.UTF-8 && \
/usr/sbin/update-locale LANG=C.UTF-8
Expand All @@ -17,5 +17,4 @@ ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8

COPY requirements /code/requirements/
COPY bin/peep.py /code/bin/peep.py
RUN python bin/peep.py install --no-cache-dir -r requirements/dev.txt
RUN pip install --require-hashes --no-deps -r requirements/dev.txt

0 comments on commit 936d1a3

Please sign in to comment.