control agent can now uboot commands
This commit is contained in:
15
clitools/docker/ctl-agent.Dockerfile
Normal file
15
clitools/docker/ctl-agent.Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM alpine:latest AS cacerts
|
||||
FROM scratch
|
||||
|
||||
ARG VERSION
|
||||
ENV VERSION=${VERSION}
|
||||
|
||||
WORKDIR /
|
||||
|
||||
COPY bin/ctl-linux-aarch64-${VERSION} ./ctl
|
||||
COPY out/fw_printenv ./
|
||||
COPY out/fw_setenv ./
|
||||
COPY --from=cacerts /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||
|
||||
ENTRYPOINT ["/ctl"]
|
||||
CMD ["agent"]
|
||||
Reference in New Issue
Block a user