From 3f9b7944b89f0c0823a3456d349208329ce8e7eb Mon Sep 17 00:00:00 2001
From: Beorn Facchini <beornf@gmail.com>
Date: Tue, 9 Mar 2021 22:43:16 +1100
Subject: [PATCH] Update ruby, postgresql, node and pngquant versions

---
 Dockerfile       | 6 +++---
 install/pngquant | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 0384741..9e5646d 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 7f8b808..a801e26 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 /
-- 
GitLab