You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.0 KiB

  1. FROM debian:9
  2. RUN apt update && apt install -y \
  3. build-essential \
  4. curl \
  5. jq \
  6. gawk \
  7. gettext \
  8. git \
  9. libncurses5-dev \
  10. libssl-dev \
  11. python \
  12. subversion \
  13. time \
  14. wget \
  15. zlib1g-dev \
  16. unzip \
  17. xz-utils \
  18. && rm -rf /var/lib/apt/lists/*
  19. RUN useradd -c "OpenWrt Builder" -m -d /home/build -s /bin/bash build
  20. USER build
  21. ENV HOME /home/build
  22. # LEDE Build System (LEDE GnuPG key for unattended build jobs)
  23. RUN curl 'https://git.openwrt.org/?p=keyring.git;a=blob_plain;f=gpg/626471F1.asc' | gpg --import \
  24. && echo '54CC74307A2C6DC9CE618269CD84BCED626471F1:6:' | gpg --import-ownertrust
  25. # LEDE Release Builder (17.01 "Reboot" Signing Key)
  26. RUN curl 'https://git.openwrt.org/?p=keyring.git;a=blob_plain;f=gpg/D52BBB6B.asc' | gpg --import \
  27. && echo 'B09BE781AE8A0CD4702FDCD3833C6010D52BBB6B:6:' | gpg --import-ownertrust
  28. # OpenWrt Release Builder (18.06 Signing Key)
  29. RUN curl 'https://git.openwrt.org/?p=keyring.git;a=blob_plain;f=gpg/17E1CE16.asc' | gpg --import \
  30. && echo '6768C55E79B032D77A28DA5F0F20257417E1CE16:6:' | gpg --import-ownertrust