File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ RUN apt-get update && apt-get install -qqy \
2121 pip install --upgrade pip && \
2222 pip install -r /tmp/requirements.txt && \
2323 pip install -r /tmp/external_requirements.txt && \
24- pip install syncano==4.2 .0
24+ pip install syncano==4.1 .0
2525
2626RUN mkdir /home/syncano && \
2727 cd /home/syncano/ && \
28- virtualenv deprecated && \
29- . new_syncano /bin/activate && \
28+ virtualenv new && \
29+ . new /bin/activate && \
3030 pip install -r /tmp/requirements.txt && \
3131 pip install -r /tmp/external_requirements.txt && \
32- pip install syncano==4.1 .0
32+ pip install syncano==4.2 .0
3333
3434# create a special user to run code
3535# user without root privileges greatly improves security
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ 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 /home/syncano/deprecated /bin/python /tmp/test.py
13- - docker run -it -v `pwd`/test2.py:/tmp/test.py quay.io/syncano/python-codebox /home/syncano/deprecated/bin/ python /tmp/test.py
14- - docker run -it -v `pwd`/test3.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 /home/syncano/new /bin/python /tmp/test.py
13+ - 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 /home/syncano/new/bin/ python /tmp/test.py
1515
1616deployment :
1717 production :
You can’t perform that action at this time.
0 commit comments