Skip to content

Commit b182b7d

Browse files
committed
run as root
1 parent a59870a commit b182b7d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

image/discourse_test/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ RUN cd /var/www/discourse && sudo -E -u discourse -H bundle exec rake plugin:ins
3737
LOAD_PLUGINS=1 sudo -E -u discourse -H bundle exec rake plugin:install_all_gems &&\
3838
sudo -E -u discourse -H bundle exec ruby script/install_minio_binaries.rb
3939

40-
USER discourse
41-
RUN cd /var/www/discourse &&\
42-
sudo -E -u discourse -H /bin/bash -c 'CI=1 pnpm playwright install --with-deps --no-shell chromium'
40+
RUN cd /var/www/discourse && \
41+
pnpm playwright install --with-deps --no-shell chromium
4342

4443
ENTRYPOINT ["sudo", "-E", "-u", "discourse", "-H", "ruby", "script/docker_test.rb"]

0 commit comments

Comments
 (0)