From e5f24831723a94c38a38c358d70158ba7c5b9900 Mon Sep 17 00:00:00 2001 From: pierreozoux <pierre@ozoux.net> Date: Mon, 9 Oct 2017 10:39:29 +0200 Subject: [PATCH] Move sed down the file --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a7beafe..8d4154c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,10 +25,8 @@ RUN addgroup --gid 1000 discourse \ && cd /home/discourse \ && mkdir -p ./tmp/sockets \ && git clone --branch v${DISCOURSE_VERSION} https://github.com/discourse/discourse.git \ - && cd ./discourse \ && chown -R discourse:discourse . \ && git remote set-branches --add origin tests-passed \ - && sed -i 's/daemonize true/daemonize false/g' ./config/puma.rb \ && curl --silent --location https://deb.nodesource.com/setup_8.x | bash - \ && apt-get update && apt-get install -y --no-install-recommends \ ${BUILD_DEPS} \ @@ -54,6 +52,7 @@ RUN addgroup --gid 1000 discourse \ && make && make install \ && rm -rf pngquant \ && cd /home/discourse/discourse \ + && 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 \ && apt-get remove -y --purge ${BUILD_DEPS} \ -- GitLab