-
Notifications
You must be signed in to change notification settings - Fork 5
/
mint17-i386.Dockerfile
53 lines (40 loc) · 1.41 KB
/
mint17-i386.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Pull base image.
FROM i386/ubuntu:14.04
# Make sure APT operations are non-interactive
ENV DEBIAN_FRONTEND noninteractive
# Add basic tools
RUN apt-get update && apt-get --yes install wget gnupg locales unzip libfile-fcntllock-perl
# Set locale
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
RUN locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
# Add GHR
RUN \
wget https://github.com/tcnksm/ghr/releases/download/v0.5.4/ghr_v0.5.4_linux_amd64.zip \
&& unzip ghr_v0.5.4_linux_amd64.zip \
&& mv ghr /usr/bin/ghr \
&& rm ghr_v0.5.4_linux_amd64.zip
# Add files.
ADD mint17 /
###################################
# Set up repositories
###################################
# Add linuxmint-keyring
RUN \
wget http://packages.linuxmint.com/pool/main/l/linuxmint-keyring/linuxmint-keyring_2009.04.29_all.deb > dev/null 2>&1 \
&& dpkg -i linuxmint-keyring_2009.04.29_all.deb \
&& rm linuxmint-keyring_2009.04.29_all.deb
# Empty default sources.list
RUN echo "" > /etc/apt/sources.list
# Update APT cache.
RUN apt-get update
###################################
# Apply updates
###################################
RUN apt-get dist-upgrade --yes
###################################
# Install stuff
###################################
RUN apt-get --yes install mint-dev-tools build-essential devscripts fakeroot quilt dh-make automake libdistro-info-perl less nano ubuntu-dev-tools python python2.7 python3