From 12920c10d4f27b6d7d6966b82a252612d1686aaa Mon Sep 17 00:00:00 2001 From: Jose Henrique Date: Fri, 22 Aug 2025 21:32:27 -0300 Subject: [PATCH] anoter retry --- haven-notify/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/haven-notify/Dockerfile b/haven-notify/Dockerfile index a6a64b2..2771a87 100644 --- a/haven-notify/Dockerfile +++ b/haven-notify/Dockerfile @@ -1,9 +1,9 @@ # Start from the official Golang image for building -FROM golang:1.22 AS builder +FROM golang:1.22-alpine AS builder WORKDIR /app COPY . . # Build statically for Linux -RUN GOOS=linux CGO_ENABLED=0 go build -o haven-notify main.go +RUN CGO_ENABLED=0 GOOS=linux GOARCH=$(go env GOARCH) go build -o haven-notify main.go # Use Alpine for running, with CA certificates for TLS FROM alpine:latest