99Kies commented on a change in pull request #1451:
URL: https://github.com/apache/libcloud/pull/1451#discussion_r419120283
##########
File path: contrib/Dockerfile
##########
@@ -1,32 +1,34 @@
FROM ubuntu:16.04
RUN set -e && \
- apt-get update && \
- apt-get install -y \
- software-properties-common \
- wget \
- ssh && \
- add-apt-repository ppa:deadsnakes/ppa && \
- apt-get update && \
- apt-get -y install \
- python2.7 \
- python3.4 \
- python3.5 \
- python3.6 \
- python-dev \
- python2.7-dev \
- python3.4-dev \
- python3.5-dev \
- python3.6-dev \
- pypy \
- python-pip
+ apt-get update && \
+ apt-get install -y \
+ software-properties-common \
+ wget \
+ ssh && \
+ add-apt-repository ppa:deadsnakes/ppa && \
+ apt-get update && \
+ apt-get -y install \
+ python2.7 \
+ python3.4 \
+ python3.5 \
+ python3.6 \
+ python-dev \
+ python2.7-dev \
+ python3.4-dev \
+ python3.5-dev \
+ python3.6-dev \
+ pypy \
+ python-pip
RUN set -e && \
- pip install tox \
- mock \
- lockfile \
- coverage
+ 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"]
Review comment:
This is my fault, I have n’t tested it because of time.
##########
File path: contrib/Dockerfile
##########
@@ -1,32 +1,34 @@
FROM ubuntu:16.04
RUN set -e && \
- apt-get update && \
- apt-get install -y \
- software-properties-common \
- wget \
- ssh && \
- add-apt-repository ppa:deadsnakes/ppa && \
- apt-get update && \
- apt-get -y install \
- python2.7 \
- python3.4 \
- python3.5 \
- python3.6 \
- python-dev \
- python2.7-dev \
- python3.4-dev \
- python3.5-dev \
- python3.6-dev \
- pypy \
- python-pip
+ apt-get update && \
+ apt-get install -y \
+ software-properties-common \
+ wget \
+ ssh && \
+ add-apt-repository ppa:deadsnakes/ppa && \
+ apt-get update && \
+ apt-get -y install \
+ python2.7 \
+ python3.4 \
+ python3.5 \
+ python3.6 \
+ python-dev \
+ python2.7-dev \
+ python3.4-dev \
+ python3.5-dev \
+ python3.6-dev \
+ pypy \
+ python-pip
RUN set -e && \
- pip install tox \
- mock \
- lockfile \
- coverage
+ 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"]
Review comment:
This is my fault, I haven’t tested it because of time.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]