Skip to content

Commit

Permalink
Update Dockerfile to Debian Bookworm and NodeJS 22
Browse files Browse the repository at this point in the history
  • Loading branch information
kimtiago committed Oct 24, 2024
1 parent db28ecc commit c8d64cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#####################
### Server Build Step
#####################
FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.22-bullseye AS server-builder
FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.22-bookworm AS server-builder


RUN mkdir /server
Expand All @@ -18,7 +18,7 @@ RUN COMMITHASH=${COMMITHASH} GOOS=${TARGETOS} GOARCH=${TARGETARCH} make build-se
#################
### UI Build Step
#################
FROM --platform=${TARGETPLATFORM:-linux/amd64} node:18-bullseye AS ui-builder
FROM --platform=${TARGETPLATFORM:-linux/amd64} node:22-bookworm AS ui-builder

WORKDIR /ui

Expand All @@ -32,7 +32,7 @@ RUN make build-ui
################
### Runtime Step
################
FROM --platform=${TARGETPLATFORM:-linux/amd64} debian:bullseye-slim
FROM --platform=${TARGETPLATFORM:-linux/amd64} debian:bookworm-slim

RUN apt-get update
RUN apt-get install -y ca-certificates
Expand Down

0 comments on commit c8d64cc

Please sign in to comment.