From 91ed608854ec8c9a28ea1f8678b9f7cd2727c3b6 Mon Sep 17 00:00:00 2001 From: Anant Sharma Date: Mon, 28 Oct 2024 23:36:38 -0400 Subject: [PATCH] WIP. --- Dockerfile.browser | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile.browser b/Dockerfile.browser index 88684c2f..6127acc3 100644 --- a/Dockerfile.browser +++ b/Dockerfile.browser @@ -3,8 +3,11 @@ FROM --platform=$TARGETOS/$TARGETARCH scratch ARG TARGETOS ARG TARGETARCH +RUN adduser -D -u 12345 -g 12345 sm + ADD ./dist/container-image.browser.${TARGETOS}-${TARGETARCH}.tar / +USER sm ENV K6_BROWSER_ARGS=no-sandbox,disable-dev-shm-usage ENTRYPOINT ["tini", "--", "/usr/local/bin/synthetic-monitoring-agent"]