~maxiberta/isitdeployable/update-project-url

« back to all changes in this revision

Viewing changes to Dockerfile.test

  • Committer: Ubuntu One Auto Copilot
  • Author(s): Colin Watson
  • Date: 2018-02-09 15:01:57 UTC
  • mfrom: (277.1.1 breezy)
  • Revision ID: otto-copilot@canonical.com-20180209150157-ye8cssq13ophdn5w
Port to breezy.

Merged from https://code.launchpad.net/~cjwatson/isitdeployable/breezy/+merge/337328

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# switch back to root user for installing extra test dependencies
4
4
USER root
5
5
 
6
 
# install system dependencies (debs)
7
 
COPY dependencies-devel.txt.docker ./
8
 
RUN apt-get update \
9
 
    && cat dependencies-devel.txt.docker | xargs apt-get install -y --no-install-recommends \
10
 
    && apt-get autoremove -y \
11
 
    && apt-get clean \
12
 
    && rm -rf /var/lib/apt/lists/*
13
 
 
14
6
# install python dependencies (wheels)
15
7
COPY requirements-devel.txt /usr/src/app
16
8
RUN pip install --find-links=branches/wheels --no-index -r requirements-devel.txt