Ship the control-agent controller for node

This commit is contained in:
2026-04-01 02:03:37 +08:00
parent b6c110410f
commit 7c3e096fec
4 changed files with 107 additions and 28 deletions

12
clitools/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM alpine:latest AS cacerts
FROM scratch
ARG VERSION
ENV VERSION=${VERSION}
WORKDIR /
COPY bin/ctl-linux-aarch64-${VERSION} ./ctl
COPY --from=cacerts /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
CMD [ "/ctl", "agent" ]