summaryrefslogtreecommitdiffci
path: root/Dockerfile
diff options
from:
to:
context:
space:
mode:
authorGravatar Saya Andy <saya.andy@posteo.com> 2026-07-30 10:59:45 +0700
committerGravatar Saya Andy <saya.andy@posteo.com> 2026-07-30 10:59:45 +0700
commitf73435c674c0ef67bde106d3f953ace17d22a856 (patch)
tree11c43abcfd67ca5223e61c954fe07a5d7b022d38 /Dockerfile
parent0d8fc1c94414f8e69cffe389620867a70ea85590 (diff)
parent4bdcac0a88d0510df9cdef2e99bee20370fe219b (diff)
downloadweb-0.17.3.2.tar.gz
web-0.17.3.2.zip
v0.17.3.2v0.17.3.2main
ci: use self-hosted sayag.it jenkins
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 44d1ea2..d0b6621 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,9 @@
-FROM golang:1.26-alpine3.23 AS build-stage
+FROM golang:1.26.4-alpine3.24 AS build-stage
+
+ARG TARGETOS=linux
+ARG TARGETARCH=amd64
+ENV GOOS=${TARGETOS}
+ENV GOARCH=${TARGETARCH}
RUN apk add --no-cache sqlite-dev musl-dev gcc
@@ -7,7 +12,7 @@ COPY . .
RUN go mod download
RUN CGO_ENABLED=1 go build -o sayana-web .
-FROM alpine:3.23 AS runtime-stage
+FROM alpine:3.24 AS runtime-stage
ENV ENVIRONMENT=""
ENV AUTH_SALT=""