Skip to content
Merged
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: 6 additions & 2 deletions _infra/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions _infra/helm/survey/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading