Namespaces, assemblies, projects and directories, the solution, binaries, images, systemd units, config paths, environment variables, protocol method names, the media type and the raw chunk magic all move to MoShiro/moshiro. Existing data and deployments are not compatible and must be recreated. Also fix the architecture tests after the solution layout change and make the update tests independent of their order.
17 lines
600 B
Docker
17 lines
600 B
Docker
FROM mcr.microsoft.com/dotnet/runtime-deps:10.0-alpine
|
|
|
|
ARG APP_VERSION=unknown
|
|
LABEL org.opencontainers.image.title="MoShiro Probe" \
|
|
org.opencontainers.image.description="MoShiro network measurement probe for Linux" \
|
|
org.opencontainers.image.licenses="Apache-2.0" \
|
|
org.opencontainers.image.version="$APP_VERSION"
|
|
|
|
COPY --chown=1654:1654 app/moshiro-probe /usr/local/bin/moshiro-probe
|
|
COPY --chown=1654:1654 config/ /etc/moshiro/
|
|
|
|
USER 1654:1654
|
|
WORKDIR /etc/moshiro
|
|
VOLUME ["/etc/moshiro"]
|
|
ENTRYPOINT ["/usr/local/bin/moshiro-probe"]
|
|
CMD ["--config", "/etc/moshiro/probe.json"]
|