diff --git a/Dockerfile b/Dockerfile index 736a80e..7861c94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.23-alpine as builder +FROM golang:1.23-alpine AS builder RUN apk add --no-cache git ca-certificates curl && \ update-ca-certificates diff --git a/Magefile.go b/Magefile.go index 7da702d..f4926fb 100644 --- a/Magefile.go +++ b/Magefile.go @@ -86,6 +86,7 @@ func Deploy() error { return err } err = sh.Run("docker", "buildx", "build", + "--network=host", // docker dns keep messing things up "--platform", "linux/amd64,linux/arm64", // Build for both AMD64 and ARM64 "-t", "academo/grafana-ntfy:"+version, "-t", "academo/grafana-ntfy:latest",