summaryrefslogtreecommitdiffci
path: root/Dockerfile
diff options
from:
to:
context:
space:
mode:
authorGravatar Saya Andy <saya.andy@posteo.com> 2026-06-22 21:30:55 +0700
committerGravatar Saya Andy <saya.andy@posteo.com> 2026-06-22 21:30:55 +0700
commit1ce3d644faf8e0372cc63f7fb3b15a33a94cd7f4 (patch)
tree6d4dd8a562f20d642aa6102dbba2e9e99f848595 /Dockerfile
parent1c54aa1c4d87966e37dda72630642943a022b09c (diff)
downloadweb-1ce3d644faf8e0372cc63f7fb3b15a33a94cd7f4.tar.gz
web-1ce3d644faf8e0372cc63f7fb3b15a33a94cd7f4.zip
feat: build image both for amd64 and arm64
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 58ba7f4..37fe431 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,8 @@
FROM golang:1.26.4-alpine3.24 AS build-stage
+ENV GOOS=linux
+ENV GOARCH=amd64
+
RUN apk add --no-cache sqlite-dev musl-dev gcc
WORKDIR /builddir