-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
38 lines (35 loc) · 1.33 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
34
35
36
37
38
# vim: set filetype=dockerfile
FROM ubuntu:16.04
MAINTAINER Ed Lim <[email protected]>
ENV DEBIAN_FRONTEND="noninteractive" \
LANG="en_US.UTF-8" \
LC_ALL="en_US.UTF-8" \
LANGUAGE="en_US.UTF-8"
# Does the following:
# - Add the trusty-proposed repo
# - enable multiverse on all repos
# - Install some utilities
# - Remove stuff
RUN echo "deb http://archive.ubuntu.com/ubuntu/ xenial-proposed restricted main multiverse universe" >> /etc/apt/sources.list \
&& sed -i "/^# deb.*multiverse/ s/^# //" /etc/apt/sources.list \
&& apt-get --quiet update \
&& apt-get install --no-install-recommends -qy bzip2 \
tar \
python \
python-pip \
python-software-properties \
curl \
apt-transport-https \
ca-certificates \
supervisor \
openssl \
software-properties-common \
&& apt-get clean -y \
&& apt-get autoclean -y \
&& apt-get autoremove -y \
&& apt-get purge -y \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/
ADD files/vimrc /root/.vimrc
RUN chown root:root /root/.vimrc
RUN mkdir -p /data