Skip to content

Commit 47622ec

Browse files
committed
install python3.7,3.6 in dockerfile
1 parent e419623 commit 47622ec

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

dockerfiles/Dockerfile

+9-2
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,16 @@ RUN cd /usr/src \
4242
&& make -j `nproc` && make install \
4343
&& rm -rf /usr/src/openrave-${RAVE_COMMIT}/build
4444

45+
RUN apt-get install -y curl && curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" \
46+
&& python get-pip.py && python3 get-pip.py
47+
4548
# Other deps
46-
RUN apt-get install -y --no-install-recommends python-dev python3-dev python3-venv python-tk && \
47-
pip install virtualenv invoke
49+
50+
RUN apt-get install -y software-properties-common && add-apt-repository -y ppa:deadsnakes/ppa && \
51+
apt-get update && \
52+
apt-get install -y --no-install-recommends python-dev python3-dev python3-venv python-tk \
53+
python3.6 python3.6-dev python3.7 python3.7-dev && \
54+
python3 -m pip install virtualenv invoke tox
4855

4956
# RUN sudo apt-get install -y --no-install-recommends python-dev python3-dev python3-venv
5057

tasks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def docker_start(c):
5555
-v /home/hung/git/toppra:$HOME/toppra \
5656
-e DISPLAY=unix$DISPLAY \
5757
--net=host \
58-
hungpham2511/toppra-dep:0.0.2 sleep infinity")
58+
hungpham2511/toppra-dep:0.0.3 sleep infinity")
5959

6060

6161
@task

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# content of: tox.ini , put in same dir as setup.py
22
[tox]
3-
envlist = py27,py37
3+
envlist = py27,py37,py35,py36
44

55
[testenv]
66
# install pytest in the virtualenv where commands will be executed

0 commit comments

Comments
 (0)