Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 6dcef60

Browse files
committed
Update to Alpine 3.19 and NodeJS 20.x
1 parent f467849 commit 6dcef60

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

build_dbhub.sh

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ export GOBIN=${DEST}/bin
99
export NVM_DIR="$HOME/.nvm"
1010
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
1111

12+
# Tell NVM to use the correct version of NodeJS
13+
nvm install --latest-npm --lts 20
14+
nvm alias default 18
15+
nvm use 20
16+
1217
# If this script is passed an argument of "clean", then delete the
1318
# locally compiled pieces
1419
if [ "$1" = "clean" ]; then

docker/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
FROM rabbitmq:3-alpine AS rabbit
55

66
# Build our own image
7-
FROM alpine:3.18
7+
FROM alpine:3.19
88

99
LABEL maintainer="Justin Clift <justin@postgresql.org>"
1010

@@ -23,8 +23,8 @@ RUN addgroup -S rabbitmq && \
2323

2424
# Use a fast Australian mirror for the Alpine package repositories
2525
# Without doing this, building the image can take 2+ hours. :(
26-
RUN echo "https://mirror.aarnet.edu.au/pub/alpine/v3.18/main" > /etc/apk/repositories && \
27-
echo "https://mirror.aarnet.edu.au/pub/alpine/v3.18/community" >> /etc/apk/repositories
26+
RUN echo "https://mirror.aarnet.edu.au/pub/alpine/v3.19/main" > /etc/apk/repositories && \
27+
echo "https://mirror.aarnet.edu.au/pub/alpine/v3.19/community" >> /etc/apk/repositories
2828

2929
# Install Git, Go, Memcached, Minio, and PostgreSQL
3030
RUN apk update && \

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"mq:q": "docker exec -it dbhub-build rabbitmqctl list_queues"
5151
},
5252
"engines": {
53-
"node": "^18.14.1",
53+
"node": "^20.10.0",
5454
"yarn": "^1.22.19"
5555
},
5656
"repository": "https://github.com/sqlitebrowser/dbhub.io",

0 commit comments

Comments
 (0)