File tree 1 file changed +19
-12
lines changed
1 file changed +19
-12
lines changed Original file line number Diff line number Diff line change 3
3
FROM ubuntu:18.04
4
4
MAINTAINER Shohei Mukai
5
5
6
- RUN apt-get update
7
- RUN apt-get -y install apache2
6
+ ENV DEBIAN_FRONTEND=noninteractive
7
+
8
+ RUN apt update
9
+ RUN apt -y install apache2
8
10
9
11
# Python2.7
10
- RUN apt-get -y install python2.7
11
- RUN apt-get -y install libmysqlclient-dev
12
- RUN apt-get -y install vim
13
- RUN apt-get -y install python-pip
12
+ RUN apt -y install python2.7
13
+ RUN apt -y install libmysqlclient-dev
14
+ RUN apt -y install vim
15
+ RUN apt -y install python-pip
14
16
15
17
# Python3.6
16
- RUN apt-get -y install python3.6
17
- RUN apt-get -y install python3.6-dev python3-distutils
18
- RUN apt-get -y install wget
18
+ RUN apt -y install python3.6
19
+ RUN apt -y install python3.6-dev python3-distutils
20
+ RUN apt -y install wget
19
21
RUN wget https://bootstrap.pypa.io/get-pip.py
20
22
RUN python3.6 get-pip.py
21
23
22
24
# Python3.7
23
- RUN apt-get -y install python3.7
24
- RUN apt-get -y install python3.7-dev
25
+ RUN apt -y install python3.7
26
+ RUN apt -y install python3.7-dev
25
27
RUN python3.7 get-pip.py
26
28
27
29
# Python3.8
28
- RUN apt-get -y install python3.8
30
+ RUN apt -y install python3.8
31
+
32
+ # Python3.9
33
+ RUN apt -y install software-properties-common
34
+ RUN add-apt-repository ppa:deadsnakes/ppa
35
+ RUN apt -y install python3.9
29
36
30
37
# Http settings
31
38
ENV APACHE_RUN_USER www-data
You can’t perform that action at this time.
0 commit comments