@@ -24,22 +24,25 @@ version in Docker := "1.0"
24
24
organization := " com.codacy"
25
25
26
26
val installAll =
27
- s """ apt-get update &&
28
- |apt-get -y install python2.7 python3.5 ca-certificates wget openjdk-8-jre-headless &&
27
+ s """ apt-get -y update &&
28
+ |apt-get install -y software-properties-common &&
29
+ |add-apt-repository -y ppa:deadsnakes/ppa &&
30
+ |apt-get -y update &&
31
+ |apt-get install -y python2.7 python3.6 ca-certificates wget openjdk-8-jre-headless &&
29
32
|wget "https://bootstrap.pypa.io/get-pip.py" -O /dev/stdout | python2.7 &&
30
- |wget "https://bootstrap.pypa.io/get-pip.py" -O /dev/stdout | python3.5 &&
33
+ |wget "https://bootstrap.pypa.io/get-pip.py" -O /dev/stdout | python3.6 &&
31
34
|python2.7 -m pip install django==1.9.2 pylint-django==0.9.0 flask==0.10.1 pylint-flask==0.1 flask-wtf==0.12 --upgrade --ignore-installed --no-cache-dir &&
32
- |python3.5 -m pip install django==1.9.2 pylint-django==0.9.0 flask==0.10.1 pylint-flask==0.1 flask-wtf==0.12 --upgrade --ignore-installed --no-cache-dir &&
35
+ |python3.6 -m pip install django==1.9.2 pylint-django==0.9.0 flask==0.10.1 pylint-flask==0.1 flask-wtf==0.12 --upgrade --ignore-installed --no-cache-dir &&
33
36
|python2.7 -m pip install pylint-common==0.2.2 &&
34
- |python3.5 -m pip install pylint-common==0.2.2 &&
37
+ |python3.6 -m pip install pylint-common==0.2.2 &&
35
38
|python2.7 -m pip install pylint-celery==0.3 &&
36
- |python3.5 -m pip install pylint-celery==0.3 &&
39
+ |python3.6 -m pip install pylint-celery==0.3 &&
37
40
|python2.7 -m pip install SaltPyLint==2017.12.15 &&
38
- |python3.5 -m pip install SaltPyLint==2017.12.15 &&
41
+ |python3.6 -m pip install SaltPyLint==2017.12.15 &&
39
42
|python2.7 -m pip install pylint==1.8.2 --upgrade --ignore-installed --no-cache-dir &&
40
- |python3.5 -m pip install pylint==1.8.2 --upgrade --ignore-installed --no-cache-dir &&
43
+ |python3.6 -m pip install pylint==1.8.2 --upgrade --ignore-installed --no-cache-dir &&
41
44
|python2.7 -m pip uninstall -y pip &&
42
- |python3.5 -m pip uninstall -y pip &&
45
+ |python3.6 -m pip uninstall -y pip &&
43
46
|apt-get clean &&
44
47
|rm -rf /var/lib/apt/lists/* &&
45
48
|rm -rf /root/.cache/pip &&
0 commit comments