diff options
author | dakkar <dakkar@thenautilus.net> | 2018-07-13 10:02:04 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2018-07-13 10:02:04 +0100 |
commit | bd51fb520c7af69f8eed068224811a3b481e15c0 (patch) | |
tree | a8abd88d97c8b3870ee5d6738ea4f41d12adc290 /docker | |
parent | first attempt (diff) | |
download | dakkar-android-huawei-m5-bd51fb520c7af69f8eed068224811a3b481e15c0.tar.gz dakkar-android-huawei-m5-bd51fb520c7af69f8eed068224811a3b481e15c0.tar.bz2 dakkar-android-huawei-m5-bd51fb520c7af69f8eed068224811a3b481e15c0.zip |
import docker stuff
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 43 |
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 |