Add no cache and Optimize the Dockerfile format
@@ -22,11 +22,13 @@ RUN set -e && \
python-pip
RUN set -e && \
- pip install tox \
+ pip install --no-cache-dir tox \
mock \
lockfile \
coverage
COPY . /libcloud
+
WORKDIR /libcloud
-CMD tox -e py2.7,pypypy,py3.4,py3.5,py3.6,lint
+
+CMD ["tox", "-e", "py2.7", "pypypy", "py3.4", "py3.5", "py3.6", "lint"]
