Skip to content

Commit 4c7b715

Browse files
committed
[TRAVIS] Fix Dockerfiles
1 parent af32065 commit 4c7b715

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ARG spy
77
RUN mkdir -p /CDT
88
COPY . /CDT
99
RUN cd /CDT && \
10+
add-apt-repository ppa:deadsnakes/ppa -y && \
1011
apt-get update --allow-unauthenticated && \
1112
apt-get -q install "python${python}" "python${python}-dev" python3-pip python3-setuptools -y && \
1213
rm /usr/bin/python3 && ln -s /usr/bin/python${python} /usr/bin/python3 && \

nv-Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ ARG python
55

66
RUN mkdir -p /CDT
77
COPY . /CDT
8-
RUN cd /CDT && \
9-
apt-get update --allow-unauthenticated && \
10-
apt-get -q install "python3.6" "python3.6-dev" -y
11-
RUN apt-get -q install python3-pip python3-setuptools -y && \
12-
rm /usr/bin/python3 && ln -s /usr/bin/python3.6 /usr/bin/python3
138
RUN cd /CDT && \
149
python3 -m pip install -r requirements.txt && \
1510
python3 -m pip install pytest pytest-cov && \

0 commit comments

Comments
 (0)