2019-05-04 23:43:45 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
PARAMS="$@"
|
2019-08-02 02:40:46 -04:00
|
|
|
CMD="cd /src && USER=discourse RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 LD_PRELOAD=/usr/lib/libjemalloc.so RAILS_ENV=${RAILS_ENV:=test} bin/rspec $PARAMS"
|
2019-05-04 23:43:45 -04:00
|
|
|
docker exec -it -u discourse:discourse discourse_dev /bin/bash -c "$CMD"
|