feat(build): Add Docker build
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Andreas Mieke 2024-07-26 05:49:36 -04:00
parent c91e7a1989
commit cb4958ae3f
Signed by: zener
SSH key fingerprint: SHA256:Ne+hwc5QIgYlqCuLZ0LV3301Wo/p8UoGOrGC+T6S0t8
4 changed files with 3015 additions and 1 deletions

9
Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM ghcr.io/cross-rs/mips-unknown-linux-musl:latest
RUN apt update && apt install -y git wget subversion build-essential libncurses5-dev zlib1g-dev gawk flex quilt git-core unzip libssl-dev python-dev python-pip libxml-parser-perl time
RUN git clone https://github.com/OnionIoT/source.git
COPY openwrt-build-config source/.config
ENV FORCE_UNSAFE_CONFIGURE=1
RUN cd source && make -j12