Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: move to alpine 3.21 #4067

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ARG image=zwave-js-ui

FROM alpine:3.18.4 as base
FROM alpine:3.21.0 AS base

RUN apk add --no-cache \
openssl \
libusb \
tzdata \
eudev \
nodejs=18.20.1-r0
nodejs=22.11.0-r0

# https://pkgs.alpinelinux.org/packages?name=nodejs&branch=edge&repo=&arch=&maintainer=

Expand All @@ -22,7 +22,7 @@ RUN \
build-base \
linux-headers \
python3-dev \
npm=9.6.6-r0
npm=10.9.1-r0

COPY . .

Expand Down Expand Up @@ -68,7 +68,7 @@ FROM base AS runtime
# Copy files from previous build stage
COPY --from=build-zui /usr/src/app /usr/src/app

ENV TAG_NAME=${image_name}
ENV TAG_NAME=${image}

ENV NODE_ENV=production

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ RUN apt-get update && apt-get install -y \
# Copy files from the previous build stage
COPY --from=build-zui /usr/src/app /usr/src/app

ENV TAG_NAME=${image_name}
ENV TAG_NAME=${image}

ENV NODE_ENV=production

Expand Down
Loading