-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
43 lines (36 loc) · 1.23 KB
/
Copy pathDockerfile
File metadata and controls
43 lines (36 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM phusion/baseimage:0.9.22
MAINTAINER David Robakowski <david.robakowski@synlay.com>
# Important! Update this no-op ENV variable when this Dockerfile
# is updated with the current date. It will force refresh of all
# of the base images and things like `apt-get update` won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2017-07-12
# Use baseimage-docker's init system.
CMD ["/sbin/my_init"]
ENV DEBIAN_FRONTEND noninteractive
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN add-apt-repository ppa:fkrull/deadsnakes \
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add \
&& add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \
&& apt-get update -qq \
&& apt-get install -y \
docker-ce \
python-dev \
python3-dev \
python2.6 python2.6-dev \
python2.7 python2.7-dev \
python3.3 python3.3-dev \
python3.4 python3.4-dev \
python3.5 python3.5-dev \
python3.6 python3.6-dev \
pypy pypy-dev \
python-flake8 \
python-tox \
python-pip \
git \
wget
# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*