Skip to content

Commit

Permalink
Update packages no longer supported by alpine
Browse files Browse the repository at this point in the history
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

(ministryofjustice/c100-application#1247)
  • Loading branch information
ebrett committed Jan 2, 2024
1 parent 0e33e6f commit 71742e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.azure
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"engines": {
"node": "14.x"
"node": "18.18.2"
},
"dependencies": {
"@rails/webpacker": "^5.4.3",
Expand All @@ -15,4 +15,4 @@
"devDependencies": {
"webpack-dev-server": "^4.7.3"
}
}
}

0 comments on commit 71742e0

Please sign in to comment.