4 # Configuration version history
5 # v1.0 - Initial version by Etienne Champetier
6 # v1.0.1 - Run as non-root, add unzip, xz-utils
9 RUN apt update && apt install -y \
26 && rm -rf /var/lib/apt/lists/*
28 RUN useradd -c "OpenWrt Builder" -m -d /home/build -s /bin/bash build
32 # LEDE Build System (LEDE GnuPG key for unattended build jobs)
33 RUN curl 'https://git.openwrt.org/?p=keyring.git;a=blob_plain;f=gpg/626471F1.asc' | gpg --import \
34 && echo '54CC74307A2C6DC9CE618269CD84BCED626471F1:6:' | gpg --import-ownertrust
36 # LEDE Release Builder (17.01 "Reboot" Signing Key)
37 RUN curl 'https://git.openwrt.org/?p=keyring.git;a=blob_plain;f=gpg/D52BBB6B.asc' | gpg --import \
38 && echo 'B09BE781AE8A0CD4702FDCD3833C6010D52BBB6B:6:' | gpg --import-ownertrust
40 # OpenWrt Release Builder (18.06 Signing Key)
41 RUN curl 'https://git.openwrt.org/?p=keyring.git;a=blob_plain;f=gpg/17E1CE16.asc' | gpg --import \
42 && echo '6768C55E79B032D77A28DA5F0F20257417E1CE16:6:' | gpg --import-ownertrust