diff --git a/Dockerfile.customer-service b/Dockerfile.customer-service index 602ace6..49c5fd7 100644 --- a/Dockerfile.customer-service +++ b/Dockerfile.customer-service @@ -1,4 +1,4 @@ -FROM golang:1.23-alpine AS build +FROM golang:1.26-alpine AS build WORKDIR /src # Resolve dependencies before copying source. Do not run `go mod tidy` here. @@ -12,7 +12,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build \ -trimpath -ldflags="-s -w" \ -o /out/neuralhunt-customer-service ./cmd/customer-service -FROM alpine:3.21 +FROM alpine:3.24 RUN adduser -D -h /home/app app \ && mkdir -p /app /customer-data \ && chown -R app:app /app /customer-data diff --git a/Dockerfile.server b/Dockerfile.server index 46b8484..7011835 100644 --- a/Dockerfile.server +++ b/Dockerfile.server @@ -1,4 +1,4 @@ -FROM golang:1.23-alpine AS build +FROM golang:1.26-alpine AS build WORKDIR /src # Resolve dependencies before copying source. Do not run `go mod tidy` here. @@ -16,7 +16,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build \ -trimpath -ldflags="-s -w" \ -o /out/neuralhunt ./cmd/server -FROM alpine:3.21 +FROM alpine:3.24 RUN adduser -D -h /home/app app \ && mkdir -p /app /data \ && chown -R app:app /app /data diff --git a/Dockerfile.worker b/Dockerfile.worker index bc0465f..0b8122d 100644 --- a/Dockerfile.worker +++ b/Dockerfile.worker @@ -1,4 +1,4 @@ -FROM golang:1.23-alpine AS build +FROM golang:1.26-alpine AS build WORKDIR /src # Resolve dependencies before copying source. Do not run `go mod tidy` here. @@ -12,7 +12,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build \ -trimpath -ldflags="-s -w" \ -o /out/neuralhunt-client ./cmd/client -FROM alpine:3.21 +FROM alpine:3.24 RUN adduser -D -h /home/app app \ && mkdir -p /app /identity \ && chown -R app:app /app /identity