github.com/grafana/synthetic-monitoring-agent@v0.64.2/Dockerfile.browser (about) 1 FROM --platform=$BUILDPLATFORM alpine:3.24.1@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b AS build 2 RUN adduser -D -u 12345 -g 12345 sm 3 4 FROM --platform=$TARGETOS/$TARGETARCH scratch 5 6 ARG TARGETOS 7 ARG TARGETARCH 8 9 ADD ./dist/container-image.browser.${TARGETOS}-${TARGETARCH}.tar / 10 COPY --from=0 /etc/passwd /etc/passwd 11 12 USER sm 13 ENV K6_BROWSER_ARGS=no-sandbox,disable-dev-shm-usage 14 15 ENTRYPOINT ["tini", "--", "/usr/local/bin/synthetic-monitoring-agent"]