feat: openwrt docker recipe
Some checks failed
arcad/emissary-firmware/pipeline/head There was a failure building this commit
Some checks failed
arcad/emissary-firmware/pipeline/head There was a failure building this commit
This commit is contained in:
21
misc/docker/Dockerfile
Normal file
21
misc/docker/Dockerfile
Normal file
@ -0,0 +1,21 @@
|
||||
ARG OPENWRT_VERSION=
|
||||
ARG CUSTOM_FILES=
|
||||
ARG ADDITIONAL_OPENWRT_PACKAGES=
|
||||
|
||||
FROM reg.cadoles.com/proxy_cache/openwrt/rootfs:x86-64-${OPENWRT_VERSION}
|
||||
|
||||
COPY files/ /
|
||||
COPY misc/x86/uci/ /etc/config/
|
||||
COPY misc/x86/uci-defaults/ /etc/uci-defaults/
|
||||
|
||||
RUN mkdir -p /var/lock \
|
||||
&& mkdir -p /var/run \
|
||||
&& opkg update \
|
||||
&& opkg install dmidecode ${ADDITIONAL_OPENWRT_PACKAGES} \
|
||||
&& rm /var/opkg-lists/* \
|
||||
&& /etc/init.d/emissary-agent enable
|
||||
|
||||
STOPSIGNAL SIGKILL
|
||||
|
||||
CMD ["/sbin/init"]
|
||||
|
Reference in New Issue
Block a user