Skip to content

Commit a97fd29

Browse files
committed
-y
1 parent e8c48b2 commit a97fd29

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
@@ -31,11 +31,10 @@ FROM with_browsers AS release
3131

3232
RUN cd /var/www/discourse &&\
3333
sudo -u discourse bundle install --jobs $(($(nproc) - 1)) &&\
34-
sudo -E -u discourse -H /bin/bash -c 'if [ -f yarn.lock ]; then (yarn install && yarn cache clean); else CI=1 pnpm install; fi'
34+
sudo -E -u discourse -H /bin/bash -c 'CI=1 pnpm install'
3535

36-
USER ROOT
3736
RUN cd /var/www/discourse &&\
38-
sudo -E -u discourse -H /bin/bash -c 'CI=1 pnpm playwright install --with-deps --no-shell chromium'
37+
sudo -E -u discourse -H /bin/bash -c 'CI=1 pnpm -y playwright install --with-deps --no-shell chromium'
3938

4039
RUN cd /var/www/discourse && sudo -E -u discourse -H bundle exec rake plugin:install_all_official &&\
4140
LOAD_PLUGINS=1 sudo -E -u discourse -H bundle exec rake plugin:install_all_gems &&\

0 commit comments

Comments
 (0)