emissary-firmware/misc/docker/Dockerfile

22 lines
480 B
Docker
Raw Normal View History

2024-03-13 10:42:53 +01:00
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"]