ctl create cmm

This commit is contained in:
2026-05-11 04:48:00 +08:00
parent dca01e4abf
commit 35f2edc0b5
8 changed files with 318 additions and 34 deletions

View File

@@ -1,15 +1,13 @@
ARG ALPINE_SERIES=3.23
FROM alpine:${ALPINE_SERIES}
RUN apk add --no-cache kmod busybox-extras
COPY ./out/ASK/rootfs-cfg/etc /etc
COPY ./out/ASK/bin/cmm /bin/cmm
COPY ./out/ASK/bin/dpa_app /bin/dpa_app
COPY ./ask/cmm/cmm.conf /etc/cmm/cmm.conf
COPY ./ask/cmm/entrypoint.sh /entrypoint.sh
COPY ./ask/cmm/init_dpa.sh /init_dpa.sh
RUN chmod +x /bin/cmm /bin/dpa_app /entrypoint.sh \
&& mkdir -p /run/ask /var/log
RUN chmod +x /bin/cmm /bin/dpa_app /init_dpa.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]