Add Linux amd64 fast-lane OCI builds selected by project dependencies. Co-authored-by: JustMe <mr.toing@outlook.com>
This commit is contained in:
1 parent
45bb18a9bd
commit
c1ec3d60a5
23 files changed
+634
-52
No files matched your search
@@ -0,0 +1,17 @@
|
||||
FROM mcr.microsoft.com/dotnet/runtime-deps:10.0-noble-chiseled-extra
|
||||
|
||||
ARG APP_VERSION=unknown
|
||||
LABEL org.opencontainers.image.title="Monitor Agent" \
|
||||
org.opencontainers.image.description="MyMonitor node agent for Linux" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.version="$APP_VERSION"
|
||||
|
||||
COPY --chown=1654:1654 app/monitor-agent /usr/local/bin/monitor-agent
|
||||
COPY --chown=1654:1654 app/fleet-enroll /usr/local/bin/fleet-enroll
|
||||
COPY --chown=1654:1654 config/ /etc/monitor/
|
||||
|
||||
USER 1654:1654
|
||||
WORKDIR /etc/monitor
|
||||
VOLUME ["/etc/monitor"]
|
||||
ENTRYPOINT ["/usr/local/bin/monitor-agent"]
|
||||
CMD ["--config", "/etc/monitor/agent.json"]
|
||||
Reference in new issue
Block a user