summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile43
1 files changed, 43 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
new file mode 100644
index 0000000..e5140a9
--- /dev/null
+++ b/docker/Dockerfile
@@ -0,0 +1,43 @@
+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 \
+ 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 "buildbot"
+RUN git config --global user.email "buildbot@phh.me"
+
+USER root