emissary-firmware/misc/docker/Dockerfile
William Petit 772f3fff61
Some checks failed
arcad/emissary-firmware/pipeline/head There was a failure building this commit
feat: openwrt docker recipe
2024-03-13 10:42:53 +01:00

22 lines
480 B
Docker

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"]