Skip to content

Commit a59870a

Browse files
committed
discourse user
1 parent a97fd29 commit a59870a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

image/discourse_test/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@ RUN cd /var/www/discourse &&\
3333
sudo -u discourse bundle install --jobs $(($(nproc) - 1)) &&\
3434
sudo -E -u discourse -H /bin/bash -c 'CI=1 pnpm install'
3535

36-
RUN cd /var/www/discourse &&\
37-
sudo -E -u discourse -H /bin/bash -c 'CI=1 pnpm -y playwright install --with-deps --no-shell chromium'
38-
3936
RUN cd /var/www/discourse && sudo -E -u discourse -H bundle exec rake plugin:install_all_official &&\
4037
LOAD_PLUGINS=1 sudo -E -u discourse -H bundle exec rake plugin:install_all_gems &&\
4138
sudo -E -u discourse -H bundle exec ruby script/install_minio_binaries.rb
4239

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'
43+
4344
ENTRYPOINT ["sudo", "-E", "-u", "discourse", "-H", "ruby", "script/docker_test.rb"]

0 commit comments

Comments
 (0)