From 5a62283ca359627772b0e54877cd48752b24b57a Mon Sep 17 00:00:00 2001 From: pierreozoux <pierre@ozoux.net> Date: Mon, 9 Oct 2017 10:43:16 +0200 Subject: [PATCH] Set branches after --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f955df5..506294d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,6 @@ RUN addgroup --gid 1000 discourse \ && mkdir -p ./tmp/sockets \ && git clone --branch v${DISCOURSE_VERSION} https://github.com/discourse/discourse.git \ && chown -R discourse:discourse . \ - && git remote set-branches --add origin tests-passed \ && curl --silent --location https://deb.nodesource.com/setup_8.x | bash - \ && apt-get update && apt-get install -y --no-install-recommends \ ${BUILD_DEPS} \ @@ -57,6 +56,7 @@ RUN addgroup --gid 1000 discourse \ && make && make install \ && rm -rf pngquant \ && cd /home/discourse/discourse \ + && git remote set-branches --add origin tests-passed \ && sed -i 's/daemonize true/daemonize false/g' ./config/puma.rb \ && bundle config build.nokogiri --use-system-libraries \ && bundle install --deployment --without test --without development \ -- GitLab