From d9ea185a6c175386ecd705d6b55e0384cd80a1c5 Mon Sep 17 00:00:00 2001 From: Dryusdan Date: Fri, 24 Nov 2017 12:13:29 +0000 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20'Dockerfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 72d7aa0..73da82b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,17 +30,19 @@ RUN export BUILD_DEPS="build-base \ ruby \ ruby-irb \ ruby-rdoc \ +&& git clone https://github.com/AlexYaruki/sigar.git /tmp/sigar \ +&& cd /tmp/sigar \ +&& cmake \ && gem install bundler \ && git clone -b master https://github.com/diaspora/diaspora.git /diaspora \ && cd /diaspora \ && rm Gemfile.lock \ && chmod +x script/server \ -&& gem install sigar -- --with-cppflags="-fgnu89-inline" \ && echo "**** GEMFILE ****" \ && cat Gemfile \ && bin/bundle config --global silence_root_warning 1 \ && bin/bundle config timeout 120 \ -&& bin/bundle install --retry 4 --without test development \ +&& bin/bundle install --jobs $(nproc) --retry 4 --without test development --with postgresql \ && apk del ${BUILD_DEPS} \ && rm -rf /tmp/* /var/cache/apk/* /tmp/* /root/.gnupg /root/.cache/ /diaspora/.git \ && chmod +x /usr/local/bin/startup \