File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ RUN virtualenv v5.0 && \
3333 pip install -r /tmp/external_requirements.txt
3434
3535RUN ln -sf /home/syncano/v4.2/bin/python /usr/bin/python && \
36- ln -sf /home/syncano/v5.0/bin/python /usr/bin/python27-50 && \
37- ln -sf /home/syncano/v4.2/bin/python /usr/bin/python27-42
36+ ln -sf /home/syncano/v5.0/bin/python /usr/bin/python27-lib5.0 && \
37+ ln -sf /home/syncano/v4.2/bin/python /usr/bin/python27-lib4.2
3838# create a special user to run code
3939# user without root privileges greatly improves security
4040RUN useradd syncano -d /tmp -s /bin/bash
Original file line number Diff line number Diff line change @@ -9,9 +9,11 @@ dependencies:
99test :
1010 override :
1111 - docker run -it -v `pwd`/test.py:/tmp/test.py quay.io/syncano/python-codebox python /tmp/test.py
12- - docker run -it -v `pwd`/test.py:/tmp/test.py quay.io/syncano/python-codebox python27-50 /tmp/test.py
12+ - docker run -it -v `pwd`/test.py:/tmp/test.py quay.io/syncano/python-codebox python27-lib4.2 /tmp/test.py
13+ - docker run -it -v `pwd`/test.py:/tmp/test.py quay.io/syncano/python-codebox python27-lib5.0 /tmp/test.py
1314 - docker run -it -v `pwd`/test2.py:/tmp/test.py quay.io/syncano/python-codebox python /tmp/test.py
14- - docker run -it -v `pwd`/test3.py:/tmp/test.py quay.io/syncano/python-codebox python27-50 /tmp/test.py
15+ - docker run -it -v `pwd`/test2.py:/tmp/test.py quay.io/syncano/python-codebox python27-lib4.2 /tmp/test.py
16+ - docker run -it -v `pwd`/test3.py:/tmp/test.py quay.io/syncano/python-codebox python27-lib5.0 /tmp/test.py
1517
1618deployment :
1719 production :
Original file line number Diff line number Diff line change 11import syncano
2- assert syncano .__version__ == '4.1 .0'
2+ assert syncano .__version__ == '4.2 .0'
Original file line number Diff line number Diff line change 11import syncano
2- assert syncano .__version__ == '4.2 .0'
2+ assert syncano .__version__ == '5.0 .0'
You can’t perform that action at this time.
0 commit comments