File tree Expand file tree Collapse file tree 3 files changed +45
-1
lines changed
Expand file tree Collapse file tree 3 files changed +45
-1
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,11 @@ RUN apt-get update && apt-get install -qqy \
2222 libssl-dev \
2323 libjpeg-dev \
2424 python-dev \
25+ python3-dev \
2526 python-numpy \
27+ python3-numpy \
2628 python-scipy \
29+ python3-scipy \
2730 wget && \
2831 wget https://bootstrap.pypa.io/get-pip.py && \
2932 python get-pip.py && \
@@ -41,11 +44,19 @@ RUN virtualenv --system-site-packages v5.0 && \
4144 tar xzvf /tmp/50.tar.gz --skip-old-files && \
4245 . v5.0/bin/activate && \
4346 pip install -r /tmp/requirements.txt && \
47+ pip install -r /tmp/external_requirements.txt && \
48+ deactivate
49+
50+ RUN virtualenv --system-site-packages -p python3 p3v5.0 && \
51+ . p3v5.0/bin/activate && \
52+ pip install -r /tmp/requirements_python3.txt && \
4453 pip install -r /tmp/external_requirements.txt
4554
4655RUN ln -sf /home/syncano/v5.0/bin/python /usr/bin/python && \
4756 ln -sf /home/syncano/v5.0/bin/python /usr/bin/python27-lib5.0 && \
48- ln -sf /home/syncano/v4.2/bin/python /usr/bin/python27-lib4.2
57+ ln -sf /home/syncano/v4.2/bin/python /usr/bin/python27-lib4.2 && \
58+ ln -sf /home/syncano/p3v5.0/bin/python /usr/bin/python3 && \
59+ ln -sf /home/syncano/p3v5.0/bin/python /usr/bin/python3-lib5.0
4960
5061# -- CUT END --
5162USER syncano
Original file line number Diff line number Diff line change @@ -12,11 +12,16 @@ test:
1212 override :
1313 - docker run -it -v `pwd`/test.py:/tmp/test.py quay.io/syncano/python-codebox python /tmp/test.py
1414 - docker run -it -v `pwd`/test.py:/tmp/test.py quay.io/syncano/python-codebox python27-lib4.2 /tmp/test.py
15+
1516 - docker run -it -v `pwd`/test.py:/tmp/test.py quay.io/syncano/python-codebox python27-lib5.0 /tmp/test.py
1617 - docker run -it -v `pwd`/test_v50.py:/tmp/test.py quay.io/syncano/python-codebox python /tmp/test.py
18+
1719 - docker run -it -v `pwd`/test_v42.py:/tmp/test.py quay.io/syncano/python-codebox python27-lib4.2 /tmp/test.py
1820 - docker run -it -v `pwd`/test_v50.py:/tmp/test.py quay.io/syncano/python-codebox python27-lib5.0 /tmp/test.py
1921
22+ - docker run -it -v `pwd`/test.py:/tmp/test.py quay.io/syncano/python-codebox python3 /tmp/test.py
23+ - docker run -it -v `pwd`/test_v50.py:/tmp/test.py quay.io/syncano/python-codebox python3-lib5.0 /tmp/test.py
24+
2025deployment :
2126 production :
2227 branch :
Original file line number Diff line number Diff line change 1+ Pillow==2.7.0
2+ requests==2.7.0
3+ icalendar==3.8.4
4+ pytz==2014.10
5+ html2text==2015.2.18
6+ pkgtools==0.7.3
7+ names==0.3.0
8+ httplib2==0.9.1
9+ twilio==4.4.0
10+ qrcode==5.1
11+ analytics-python==1.0.3
12+ osa==0.1.6.6
13+ google-api-python-client==1.4.1
14+ six==1.9.0
15+ uritemplate==0.6
16+ oauth2client==1.4.11
17+ oauthlib==1.0.3
18+ requests-oauthlib==0.5.0
19+ tweepy==3.4.0
20+ braintree==3.20.0
21+ googleads==3.11.0
22+ fastly==0.0.2
23+ pandas==0.17.1
24+ beautifulsoup4==4.4.1
25+ boto3==1.2.5
26+ syncano==5.0.1
27+ mixpanel==4.3.0
28+ mixpanel-query-py==0.1.7
You can’t perform that action at this time.
0 commit comments