Skip to content
This repository has been archived by the owner on Jul 22, 2019. It is now read-only.

Commit

Permalink
docker: faster rebuild process
Browse files Browse the repository at this point in the history
* BETTER Enriches first Docker image layer with frequently used packages
  in order to speed-up rebuild times.

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
  • Loading branch information
tiborsimko committed Aug 27, 2015
1 parent c4afa82 commit d5db38a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Dockerfile
Expand Up @@ -9,14 +9,20 @@ FROM python:2.7

# Install some prerequisites ahead of `setup.py` in order to profit
# from the docker build cache:
RUN pip install coveralls \
RUN pip install Flask \
Flask-CLI \
Flask-Registry \
Sphinx \
Werkzeug \
click \
coveralls \
ipython \
itsdangerous \
pep257 \
pytest \
pytest-pep8 \
pytest-cache \
pytest-cov \
Sphinx
pytest-pep8

# Add sources to `code` and work there:
WORKDIR /code
Expand Down

0 comments on commit d5db38a

Please sign in to comment.