diff --git a/Dockerfile b/Dockerfile index 038474171398d2078cc83198afae09ed4bf8b005..9e5646d491fb3bdbee8eb856bd14ae30c01668db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:2.6.5 +FROM ruby:2.7.2 ARG DISCOURSE_VERSION @@ -13,8 +13,8 @@ ENV RAILS_ENV=production \ PNGCRUSH_VERSION=1.8.13 \ JEMALLOC_NEW=3.6.0 \ JEMALLOC_STABLE=5.2.1 \ - PG_MAJOR=10 \ - NODE_MAJOR=10 \ + PG_MAJOR=13 \ + NODE_MAJOR=14 \ RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 \ RUBY_GC_HEAP_GROWTH_MAX_SLOTS=40000 \ RUBY_GC_HEAP_INIT_SLOTS=400000 \ diff --git a/install/pngquant b/install/pngquant index 7f8b808e925221ab3372bb88f137005fe168b0e5..a801e26cad171306655d966a9bef4206cf91b1d3 100755 --- a/install/pngquant +++ b/install/pngquant @@ -1,6 +1,6 @@ #!/bin/bash cd /tmp -git clone -b PNGQUANT_VERSION --single-branch https://github.com/pornel/pngquant +git clone -b $PNGQUANT_VERSION --single-branch https://github.com/pornel/pngquant cd pngquant make && make install cd /