Skip to content
Snippets Groups Projects
Commit dd11d72b authored by Michał 'rysiek' Woźniak's avatar Michał 'rysiek' Woźniak
Browse files

support for DISCOURSE_ADDITIONAL_GEMS added

parent 247f1820
No related branches found
No related tags found
1 merge request!6Support for DISCOURSE_ADDITIONAL_GEMS
......@@ -47,6 +47,15 @@ RUN git clone --branch v${DISCOURSE_VERSION} https://github.com/discourse/discou
&& bundle config build.nokogiri --use-system-libraries \
&& bundle install --deployment --without test --without development
# install additional gems
#
# this expects a space-separated list of gem names
ARG DISCOURSE_ADDITIONAL_GEMS=
RUN if [ "$DISCOURSE_ADDITIONAL_GEMS" != "" ]; then \
for GEM_NAME in $DISCOURSE_ADDITIONAL_GEMS; do \
bundle exec gem install "$GEM_NAME"; \
done; \
fi
# install discourse plugins
# assumptions: no spaces in URLs (urlencoding is a thing)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment