File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -156,8 +156,7 @@ ARG DISCOURSE_BRANCH=main
156156
157157# Discourse specific bits
158158RUN install -dm 0755 -o discourse -g discourse /var/www/discourse &&\
159- sudo -u discourse git clone --branch $DISCOURSE_BRANCH --filter=tree:0 https://github.com/discourse/discourse.git /var/www/discourse &&\
160- gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' /var/www/discourse/Gemfile.lock)
159+ sudo -u discourse git clone --branch $DISCOURSE_BRANCH --filter=tree:0 https://github.com/discourse/discourse.git /var/www/discourse
161160
162161FROM discourse_slim AS discourse_web_only
163162ENV RAILS_ENV=production
Original file line number Diff line number Diff line change 180180 cd : $home
181181 hook : web
182182 cmd :
183- # install bundler version to match Gemfile.lock
184- - gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
185183 - find $home ! -user discourse -exec chown discourse {} \+
186184
187185 - exec :
You can’t perform that action at this time.
0 commit comments