-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
33 lines (31 loc) · 1.03 KB
/
Dockerfile
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
FROM ubuntu:16.04
MAINTAINER [email protected]
ENV DEBIAN_FRONTEND="noninteractive" \
LANG="en_US.UTF-8" \
LC_ALL="en_US.UTF-8" \
LANGUAGE="en_US.UTF-8" \
TERM="xterm"
RUN sed -i "/^# deb.*multiverse/ s/^# //" /etc/apt/sources.list && \
apt-get -q update && \
apt-get install -qy --force-yes --no-install-recommends \
bzip2 \
ca-certificates curl \
git locales \
openssl \
python python-software-properties \
rsync \
software-properties-common ssl-cert supervisor \
tar \
wget \
unrar-free unzip \
vim-tiny \
xz-utils && \
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && \
locale-gen && \
echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/02apt-speedup &&\
echo "Acquire::http {No-Cache=True;};" > /etc/apt/apt.conf.d/no-cache && \
ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime && \
apt-get -y autoremove && \
apt-get -y clean && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /tmp/*