Skip to content

Commit

Permalink
Update to Alpine 3.19 and NodeJS 20.x
Browse files Browse the repository at this point in the history
  • Loading branch information
justinclift committed Dec 8, 2023
1 parent f467849 commit 58da8a7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"

Expand All @@ -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 && \
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 58da8a7

Please sign in to comment.