Skip to content

Commit

Permalink
split dockerfile run steps to use existing cache
Browse files Browse the repository at this point in the history
  • Loading branch information
techgaun committed Jun 1, 2017
1 parent c34374d commit 008ccd3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ before_install:
- docker pull ${DOCKER_BASE}

script:
- sed -e "s#ubuntu:latest#${DOCKER_BASE}#" Dockerfile > dynamic.dockerfile && docker build -f dynamic.dockerfile .
- sed -e "s#ubuntu:latest#${DOCKER_BASE}#" Dockerfile > dynamic.dockerfile && docker build -t python-openzwave -f dynamic.dockerfile .
4 changes: 2 additions & 2 deletions DEVEL.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ First, install the dependances :

sudo make tests-deps

To launch all the tests suite (about 140 tests), use the followind
To launch all the tests suite (about 140 tests), use the following
command :

make tests

To launch on ly some tests :
To launch only some tests :

nosetests --verbosity=2 tests/api/test_controller_command.py

Expand Down
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ MAINTAINER bibi21000 <[email protected]>
ENV PYOZW_DOCKER 1
ADD . /home/pyozw
WORKDIR /home/pyozw
RUN apt-get update && \
apt-get dist-upgrade -y && \
apt-get install -y make sudo
RUN apt-get update && apt-get dist-upgrade -y
RUN apt-get install -y --no-install-recommends make sudo apt-utils
RUN ls
WORKDIR /home/pyozw/
RUN make docker-deps
Expand Down

0 comments on commit 008ccd3

Please sign in to comment.