diff --git a/server/Dockerfile b/server/Dockerfile index 769e6cf..cfab92d 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19 AS build +FROM golang:1.21 AS build ARG TAG=release ARG REV ARG VERSION @@ -13,7 +13,7 @@ COPY internal/ /app/internal/ RUN CGO_ENABLED=0 go build -tags "${TAG}" "-ldflags=-X main.version=${VERSION} -s -w -buildid=" -trimpath ./cmd/reearth-marketplace -FROM debian:buster +FROM debian:bookworm COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt COPY --from=build /app/reearth-marketplace /app/reearth-marketplace