Dockerfile 982 B

123456789101112131415161718192021222324252627282930
  1. FROM debian:jessie
  2. MAINTAINER Markus Lindenberg <markus@lindenberg.io>
  3. ENV GLUON_SITE ffdo
  4. ENV GLUON_TAG v2016.2.7
  5. ENV GLUON_RELEASE 0.10.3
  6. ENV GLUON_BRANCH stable
  7. ENV GLUON_BROKEN 1
  8. ENV GLUON_TARGETS ar71xx-generic ar71xx-nand brcm2708-bcm2708 brcm2708-bcm2709 mpc85xx-generic x86-generic x86-64
  9. ENV DEBIAN_FRONTEND noninteractive
  10. ENV DEBIAN_PRIORITY critical
  11. ENV DEBCONF_NOWARNINGS yes
  12. RUN apt-get update
  13. RUN apt-get -y install --no-install-recommends ca-certificates python python3 wget file git subversion build-essential gawk unzip libncurses5-dev zlib1g-dev openssl libssl-dev bsdmainutils && apt-get clean
  14. ADD docker-build.py /usr/src/build.py
  15. ADD site.mk /usr/src/site.mk
  16. ADD site.conf /usr/src/site.conf
  17. ADD i18n /usr/src/i18n
  18. RUN adduser --system --home /usr/src/build build
  19. USER build
  20. WORKDIR /usr/src/build
  21. RUN git config --global user.email "technik@freifunk-dortmund.de"
  22. RUN git config --global user.name "FFDO Gluon Build Container"
  23. CMD ["/usr/src/build.py"]