# 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
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 sudo -E -u discourse -H git config --global user.email "you@example.com" &&\
+ sudo -E -u discourse -H git config --global user.name "Your Name"
RUN gem update bundler --force &&\
cd /var/www/discourse &&\