From 3c35212b1805a1a4cf5958a744f54a85a514773c Mon Sep 17 00:00:00 2001 From: Andrew Slotin Date: Mon, 17 Jul 2023 13:45:54 +0200 Subject: [PATCH] fixup! Build and publish grafana/k6:with-browser images --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 768c5ff2fe29..13e532434f40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,13 +34,13 @@ RUN apk --no-cache add chromium-swiftshader USER k6 -ENV K6_BROWSER_ENABLED=true -ENV K6_BROWSER_HEADLESS=true ENV CHROME_BIN=/usr/bin/chromium-browser ENV CHROME_PATH=/usr/lib/chromium/ +ENV K6_BROWSER_ENABLED=true +ENV K6_BROWSER_HEADLESS=true # Disable RAM-heavy GPU rasterizer and make chromium use /tmp instead of /dev/shm that is typically # too small in Docker -ENV CHROMIUM_FLAGS="--disable-software-rasterizer --disable-dev-shm-usage" +ENV K6_BROWSER_ARGS="--disable-software-rasterizer --disable-dev-shm-usage" ENTRYPOINT ["k6"]