From daf38dc8085cd17948ba3a03148f9854c4bf93c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=27rysiek=27=20Wo=C5=BAniak?= <rysiek@hackerspace.pl> Date: Mon, 12 Dec 2016 02:12:34 +0100 Subject: [PATCH] support for DISCOURSE_ADDITIONAL_GEMS: bugfix --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 18c83c5..547ff79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,11 +51,10 @@ RUN git clone --branch v${DISCOURSE_VERSION} https://github.com/discourse/discou # this expects a space-separated list of gem names ARG DISCOURSE_ADDITIONAL_GEMS= RUN if [ "$DISCOURSE_ADDITIONAL_GEMS" != "" ]; then \ - echo >> Gemfile \ - echo '### DISCOURSE_ADDITIONAL_GEMS' >> Gemfile \ + echo >> Gemfile ; \ + echo '### DISCOURSE_ADDITIONAL_GEMS' >> Gemfile ; \ for GEM_NAME in $DISCOURSE_ADDITIONAL_GEMS; do \ - # add the gem to the Gemfile - echo "gem \"$GEM_NAME\"" >> Gemfile; \ + echo "gem \"$GEM_NAME\"" >> Gemfile ; \ done; \ fi -- GitLab