From 58da8a71e0b496a430c0e1e83ecfc2df593bd0c6 Mon Sep 17 00:00:00 2001 From: Justin Clift Date: Fri, 8 Dec 2023 21:49:33 +1000 Subject: [PATCH] Update to Alpine 3.19 and NodeJS 20.x --- .github/workflows/cypress.yml | 6 +++++- docker/Dockerfile | 6 +++--- package.json | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 057943e1e..81ce6afe0 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -17,7 +17,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 + - name: Install NodeJS 20 + uses: actions/setup-node@v4 + with: + node-version: 20 - name: Cypress run uses: cypress-io/github-action@v5 with: diff --git a/docker/Dockerfile b/docker/Dockerfile index 49ac83a81..1310cf5a0 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -4,7 +4,7 @@ FROM rabbitmq:3-alpine AS rabbit # Build our own image -FROM alpine:3.18 +FROM alpine:3.19 LABEL maintainer="Justin Clift " @@ -23,8 +23,8 @@ RUN addgroup -S rabbitmq && \ # Use a fast Australian mirror for the Alpine package repositories # Without doing this, building the image can take 2+ hours. :( -RUN echo "https://mirror.aarnet.edu.au/pub/alpine/v3.18/main" > /etc/apk/repositories && \ - echo "https://mirror.aarnet.edu.au/pub/alpine/v3.18/community" >> /etc/apk/repositories +RUN echo "https://mirror.aarnet.edu.au/pub/alpine/v3.19/main" > /etc/apk/repositories && \ + echo "https://mirror.aarnet.edu.au/pub/alpine/v3.19/community" >> /etc/apk/repositories # Install Git, Go, Memcached, Minio, and PostgreSQL RUN apk update && \ diff --git a/package.json b/package.json index b151d4fe7..59fcb3a91 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "mq:q": "docker exec -it dbhub-build rabbitmqctl list_queues" }, "engines": { - "node": "^18.14.1", + "node": "^20.10.0", "yarn": "^1.22.19" }, "repository": "https://github.com/sqlitebrowser/dbhub.io",