Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to v2020.1.2 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 10 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
FROM debian:stretch
MAINTAINER Cajus Kamer <[email protected]>

ENV GLUON_TAG_DOCKER_ENV v2018.1.4
ENV GLUON_RELEASE_DOCKER_ENV 2.1.3
ENV GLUON_TAG_DOCKER_ENV v2020.1.2
ENV GLUON_RELEASE_DOCKER_ENV 3.0.0
ENV GLUON_BROKEN_DOCKER_ENV 1

ENV GLUON_TARGETS_DOCKER_ENV ar71xx-generic ar71xx-nand ar71xx-tiny ar71xx-mikrotik mpc85xx-generic ramips-mt7621 x86-generic x86-64
# ENV DOMAINS_TO_BUILD_DOCKER_ENV Domäne-01 Domäne-02 Domäne-03 Domäne-04 Domäne-05 Domäne-06 Domäne-07 Domäne-08 Domäne-09 Domäne-09 Domäne-10 Domäne-11

ENV BUILD_GLUON_DIR_DOCKER_ENV /usr/src/build/gluon
ENV BUILD_SITE_DIR_DOCKER_ENV /usr/src/build/site
ENV BUILD_ALL_SITES_DIR_DOCKER_ENV /usr/src/sites
ENV BUILD_LOG_DIR_DOCKER_ENV /usr/src/build/log
ENV BUILD_OUTPUT_DIR_DOCKER_ENV /usr/src/build/build
ENV BUILD_IMAGE_DIR_PREFIX_DOCKER_ENV /data/images.ffdo.de/ffdo_ng/domaenen
Expand All @@ -18,7 +16,6 @@ ENV BUILD_IMAGE_DIR_PREFIX_DOCKER_ENV /data/images.ffdo.de/ffdo_ng/domaenen
ENV TELEGRAM_AUTH_TOKEN_DOCKER_ENV=/usr/src/ChatAuthTokens/telegram.authToken
ENV TELEGRAM_CHAT_ID_DOCKER_ENV=/usr/src/ChatAuthTokens/telegram.chatID


ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_PRIORITY critical
ENV DEBCONF_NOWARNINGS yes
Expand All @@ -27,18 +24,18 @@ ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8

RUN apt-get update
RUN apt-get -y install --no-install-recommends adduser bash ca-certificates curl python python3 python3-yaml python3-jinja2 wget file git subversion build-essential gawk unzip libncurses5-dev zlib1g-dev openssl libssl-dev bsdmainutils && apt-get clean
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

ADD build_all_lede.sh /usr/src/build_all_lede.sh
RUN chmod 777 /usr/src/build_all_lede.sh
ADD ChatAuthTokens /usr/src/ChatAuthTokens
COPY ChatAuthTokens/* /usr/src/ChatAuthTokens/
ADD docker-build.py /usr/src/build.py
ADD site.mk /usr/src/site.mk
ADD site.conf /usr/src/site.conf
ADD domains /usr/src/domains
ADD i18n /usr/src/i18n

RUN adduser --system --home /usr/src/build build
USER build
WORKDIR /usr/src/build
COPY generated/sites /usr/src/sites
RUN git config --global user.email "[email protected]"
RUN git config --global user.name "FFDO Gluon Build Container"

CMD ["/bin/bash", "/usr/src/build_all_lede.sh", "-B", "--force-retries", "3"]
CMD ["/usr/src/build.py"]
Loading