From: Arpit Jalan Date: Mon, 28 Jan 2019 10:40:46 +0000 (+0530) Subject: Configure Git in test image (#418) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=83c157a363ee8a155d0cce756853b381c43d6f5f;p=discourse_docker.git Configure Git in test image (#418) --- diff --git a/image/discourse_bench/Dockerfile b/image/discourse_bench/Dockerfile index 432b59d..16250da 100644 --- a/image/discourse_bench/Dockerfile +++ b/image/discourse_bench/Dockerfile @@ -7,10 +7,6 @@ FROM discourse/discourse_test:1.4.0 # Install ApacheBench RUN apt-get install -y apache2-utils libsqlite3-dev -# configure Git to suppress warnings -RUN git config --global user.email "you@example.com" &&\ - git config --global user.name "Your Name" - RUN git pull &&\ sudo -u discourse bundle install --standalone diff --git a/image/discourse_test/Dockerfile b/image/discourse_test/Dockerfile index 08d0476..6cc2b84 100644 --- a/image/discourse_test/Dockerfile +++ b/image/discourse_test/Dockerfile @@ -5,6 +5,10 @@ FROM discourse/base:$tag MAINTAINER Sam Saffron "https://twitter.com/samsaffron" +# configure Git to suppress warnings +RUN git config --global user.email "you@example.com" &&\ + git config --global user.name "Your Name" + RUN gem update bundler --force &&\ cd /var/www/discourse &&\ chown -R discourse . &&\