summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
blob: 09c46bc5bcb156df8f69560c294d4e54bb1f3578 (plain)
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
FROM ubuntu:16.04
MAINTAINER Pierre-Hugues Husson <phh@phh.me>
 
ENV DEBIAN_FRONTEND noninteractive
ENV USER root
RUN dpkg --add-architecture i386
RUN apt update && apt install -y \
        aapt \
build-essential \
        imagemagick \
xorriso \
locales \
openjdk-8-jdk \
python \
git \
m4 \
unzip \
bison \
zip \
gperf \
libxml2-utils \
zlib1g:i386 \
libstdc++6:i386 \
bc \
curl \
lzop \
lzip \
lunzip \
sudo ; \
apt-get clean autoclean
 
RUN ln -s /usr/bin/xorrisofs /usr/bin/mkisofs
 
RUN locale-gen en_US.UTF-8
RUN dpkg-reconfigure locales
 
# Download and install repo
RUN curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo
RUN chmod a+x /usr/local/bin/repo
 
RUN git config --global user.name "dakkar"
RUN git config --global user.email "dakkar@thenautilus.net"
 
USER root