Skip to content
Snippets Groups Projects
Commit c225f29b authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Add pg_dump bin after gem compilation

parent 7ed0fafb
No related branches found
No related tags found
No related merge requests found
......@@ -38,12 +38,6 @@ RUN addgroup --gid 1000 discourse \
optipng \
&& npm install svgo uglify-js@"<3" -g \
&& cd /tmp \
&& curl -O https://get.enterprisedb.com/postgresql/postgresql-9.5.9-1-linux-x64-binaries.tar.gz \
&& tar zxf postgresql-9.5.9-1-linux-x64-binaries.tar.gz \
&& mv ./pgsql/bin/* /usr/local/bin/ \
&& rm postgresql-9.5.9-1-linux-x64-binaries.tar.gz \
&& rm -rf ./pgsql \
&& cd /tmp \
&& curl -O http://www.lcdf.org/gifsicle/gifsicle-$GIFSICLE_VERSION.tar.gz \
&& tar zxf gifsicle-$GIFSICLE_VERSION.tar.gz \
&& cd gifsicle-$GIFSICLE_VERSION \
......@@ -60,6 +54,12 @@ RUN addgroup --gid 1000 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 \
&& cd /tmp \
&& curl -O https://get.enterprisedb.com/postgresql/postgresql-9.5.9-1-linux-x64-binaries.tar.gz \
&& tar zxf postgresql-9.5.9-1-linux-x64-binaries.tar.gz \
&& mv ./pgsql/bin/* /usr/local/bin/ \
&& rm postgresql-9.5.9-1-linux-x64-binaries.tar.gz \
&& rm -rf ./pgsql \
&& apt-get remove -y --purge ${BUILD_DEPS} \
&& rm -rf /var/lib/apt/lists/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment