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"]