Dockerfile 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. FROM debian:stretch
  2. MAINTAINER Cajus Kamer <Cajus.Kamer@arcor.de>
  3. ENV GLUON_SITE ffdo
  4. ENV GLUON_TAG v2018.1.1
  5. ENV GLUON_RELEASE 0.12-test
  6. ENV GLUON_BRANCH stable
  7. ENV GLUON_BROKEN 1
  8. ENV GLUON_TARGETS ar71xx-generic ar71xx-nand ar71xx-tiny ar71xx-mikrotik brcm2708-bcm2708 brcm2708-bcm2709 mpc85xx-generic ramips-mt7621 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 adduser 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"]