diff --git a/_infra/docker/Dockerfile b/_infra/docker/Dockerfile index 01db2f1..751f5cc 100644 --- a/_infra/docker/Dockerfile +++ b/_infra/docker/Dockerfile @@ -1,14 +1,18 @@ FROM --platform=$BUILDPLATFORM golang:1.25-alpine AS build-stage +ARG TARGETOS +ARG TARGETARCH RUN mkdir "/src" WORKDIR "/src" COPY . . -RUN go build -v -o main +RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -v -o main RUN chmod 755 main -FROM --platform=$BUILDPLATFORM golang:1.25-alpine AS final-stage +FROM alpine:3.24 AS final-stage + +RUN apk add --no-cache ca-certificates RUN addgroup -S survey-group && adduser -S survey-user -G survey-group RUN mkdir -p "/opt/survey" diff --git a/_infra/helm/survey/Chart.yaml b/_infra/helm/survey/Chart.yaml index 8e586a0..b87de10 100644 --- a/_infra/helm/survey/Chart.yaml +++ b/_infra/helm/survey/Chart.yaml @@ -14,8 +14,8 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 11.0.71 +version: 11.1.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. -appVersion: 11.0.71 +appVersion: 11.1.0