22 lines
480 B
Docker
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"]
|
||
|
|