Update dependencies (#429)
authorGerhard Schlager <mail@gerhard-schlager.at>
Sat, 27 Apr 2019 08:08:16 +0000 (10:08 +0200)
committerSam <sam.saffron@gmail.com>
Sat, 27 Apr 2019 08:08:16 +0000 (18:08 +1000)
* Ruby 2.6.3 which has a couple of Unicode improvements

* nginx from 1.5.9 to 1.5.12 (http://nginx.org/en/CHANGES)

* ImageMagick 7.0.8-42 and switch it back to using GitHub, because only the latest release is available on the official site and this regularly breaks our build

* libpng from 1.6.36 to 1.6.37 (security fix)

* gifsicle from 1.91 to 1.92 (http://www.lcdf.org/gifsicle/changes.html)

* Node.js v10, the latest active LTS (https://nodejs.org/en/about/releases/)

image/base/Dockerfile
image/base/install-gifsicle
image/base/install-imagemagick
image/base/install-nginx
image/discourse_dev/Dockerfile
image/discourse_test/Dockerfile

index c667f91bad4fab1a1803b38eaa773ce34501c731..fe8e8ac8414f3702cb61f6ca9152b4002f734fdf 100644 (file)
@@ -22,7 +22,7 @@ RUN apt-get -y upgrade
 RUN curl http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | apt-key add -
 RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -sc)-pgdg main" | \
         tee /etc/apt/sources.list.d/postgres.list
-RUN curl --silent --location https://deb.nodesource.com/setup_8.x | sudo bash -
+RUN curl --silent --location https://deb.nodesource.com/setup_10.x | sudo bash -
 RUN apt-get -y update
 RUN apt-get -y install build-essential git wget \
                        libxslt-dev libcurl4-openssl-dev \
@@ -66,12 +66,12 @@ RUN mkdir /jemalloc-new && cd /jemalloc-new &&\
 RUN echo 'gem: --no-document' >> /usr/local/etc/gemrc &&\
     mkdir /src && cd /src && git clone https://github.com/sstephenson/ruby-build.git &&\
     cd /src/ruby-build && ./install.sh &&\
-    cd / && rm -rf /src/ruby-build && (ruby-build 2.6.2 /usr/local)
+    cd / && rm -rf /src/ruby-build && (ruby-build 2.6.3 /usr/local)
 
 RUN gem update --system
 
 RUN gem install bundler --force &&\
-    rm -rf /usr/local/share/ri/2.6.2/system &&\
+    rm -rf /usr/local/share/ri/2.6.3/system &&\
     cd / && git clone https://github.com/discourse/pups.git
 
 ADD install-redis /tmp/install-redis
index e35be3c93af6d1044a3a546d2efe72064347f1bc..4d3f0e2920793c358da60c63c9d13c3b527caf10 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 set -e
-VERSION=1.91
+VERSION=1.92
 cd /tmp
 curl -O http://www.lcdf.org/gifsicle/gifsicle-$VERSION.tar.gz
 tar zxf gifsicle-$VERSION.tar.gz
index 7f747561bc455807a197c9ceee4ffa99c74b78d6..8326fd87e4d74feec1883b4d7a9b736d093ba8ca 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/bash
 set -o errexit
 
-IMAGE_MAGICK_VERSION="7.0.8-41"
-LIBPNG_VERSION="1.6.36"
+IMAGE_MAGICK_VERSION="7.0.8-42"
+LIBPNG_VERSION="1.6.37"
 
 PREFIX=/usr/local
 WDIR=/tmp/imagemagick
@@ -25,7 +25,7 @@ cd $WDIR/libpng-$LIBPNG_VERSION
 make all && make install
 
 # Build and install ImageMagick
-wget -O $WDIR/ImageMagick.tar.gz "https://imagemagick.org/download/ImageMagick-$IMAGE_MAGICK_VERSION.tar.gz"
+wget -O $WDIR/ImageMagick.tar.gz "https://github.com/ImageMagick/ImageMagick/archive/$IMAGE_MAGICK_VERSION.tar.gz"
 IMDIR=$WDIR/$(tar tzf $WDIR/ImageMagick.tar.gz --wildcards "ImageMagick-*/configure" |cut -d/ -f1)
 tar zxf $WDIR/ImageMagick.tar.gz -C $WDIR
 cd $IMDIR
index 50d1872f96f699a95f9f5c0b78c540f27b46e997..167d5c5b2edbcb53539aa0859a5995cc452aca3b 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 set -e
-VERSION=1.15.9
+VERSION=1.15.12
 cd /tmp
 
 apt-get install -y autoconf
index 28ee6fbd984096e43a0f6b27c440de4f74e74cca..c8bffb028fa794debca1d19fda59b314e501bc57 100644 (file)
@@ -42,7 +42,6 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo ap
     echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list &&\
     curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - &&\
     echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list &&\
-    curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - &&\
     apt-get update &&\
     apt-get install -y google-chrome-stable yarn nodejs &&\
     npm install -g eslint babel-eslint
index fa6453108fe20fa649ef3a8003379ba5d33342f6..c9dcc9c2466ab6b2b13efa5e54d5091e7199c01b 100644 (file)
@@ -21,7 +21,6 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo ap
     echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list &&\
     curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - &&\
     echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list &&\
-    curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - &&\
     apt-get update &&\
     apt-get install -y libgconf-2-4 google-chrome-stable yarn nodejs &&\
     npm install -g eslint babel-eslint &&\