From b182b7d82f63af548dc1da63f86ab7f6783a2cec Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Wed, 7 May 2025 15:04:02 +0200 Subject: [PATCH] run as root --- image/discourse_test/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/image/discourse_test/Dockerfile b/image/discourse_test/Dockerfile index 7003bcc..e189a4e 100644 --- a/image/discourse_test/Dockerfile +++ b/image/discourse_test/Dockerfile @@ -37,8 +37,7 @@ RUN cd /var/www/discourse && sudo -E -u discourse -H bundle exec rake plugin:ins LOAD_PLUGINS=1 sudo -E -u discourse -H bundle exec rake plugin:install_all_gems &&\ sudo -E -u discourse -H bundle exec ruby script/install_minio_binaries.rb -USER discourse -RUN cd /var/www/discourse &&\ - sudo -E -u discourse -H /bin/bash -c 'CI=1 pnpm playwright install --with-deps --no-shell chromium' +RUN cd /var/www/discourse && \ + pnpm playwright install --with-deps --no-shell chromium ENTRYPOINT ["sudo", "-E", "-u", "discourse", "-H", "ruby", "script/docker_test.rb"]