From 1d43194992c8240761a30ab4ed1d105574943298 Mon Sep 17 00:00:00 2001 From: Daniel Waterworth Date: Mon, 11 Sep 2023 11:24:21 -0500 Subject: [PATCH] DEV: Switch test container to use exec instead of shell entrypoint (#734) This allows command line arguments to be passed. --- image/discourse_test/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/discourse_test/Dockerfile b/image/discourse_test/Dockerfile index 69dcc6e..c4f06fc 100644 --- a/image/discourse_test/Dockerfile +++ b/image/discourse_test/Dockerfile @@ -36,4 +36,4 @@ RUN cd /var/www/discourse && sudo -E -u discourse -H bundle exec rake plugin:ins 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 -ENTRYPOINT sudo -E -u discourse -H ruby script/docker_test.rb +ENTRYPOINT ["sudo", "-E", "-u", "discourse", "-H", "ruby", "script/docker_test.rb"] -- 2.25.1