From 71742e04c645dab42f430ea766355342dcd30db4 Mon Sep 17 00:00:00 2001 From: Brett McHargue Date: Tue, 2 Jan 2024 10:18:11 +0000 Subject: [PATCH] Update packages no longer supported by alpine Update to node 18 - python2 replaced with python3 (https://www.python.org/doc/sunset-python-2/) (https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.16.0) - Update no longer supported ttf-ubuntu-font-family to ttf-freefont (https://github.com/ministryofjustice/c100-application/pull/1247) --- Dockerfile.azure | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.azure b/Dockerfile.azure index 4fa453081..0d6ee9776 100644 --- a/Dockerfile.azure +++ b/Dockerfile.azure @@ -17,7 +17,7 @@ ENV BUNDLER_VERSION=2.2.26 # nodejs: JavaScript runtime built on Chrome's V8 JavaScript engine # yarn: node package manager # postgresql-dev: postgres driver and libraries -ARG BUILD_DEPS="git gcc libc-dev make nodejs yarn npm shared-mime-info python2 postgresql-dev build-base libxml2-dev libxslt-dev ttf-ubuntu-font-family" +ARG BUILD_DEPS="git gcc libc-dev make nodejs yarn npm shared-mime-info python3 postgresql-dev build-base libxml2-dev libxslt-dev ttf-freefont" WORKDIR /app diff --git a/package.json b/package.json index e0ea6ecaf..7918b69c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "engines": { - "node": "14.x" + "node": "18.18.2" }, "dependencies": { "@rails/webpacker": "^5.4.3", @@ -15,4 +15,4 @@ "devDependencies": { "webpack-dev-server": "^4.7.3" } -} +} \ No newline at end of file