From e4100e669974a5f217a36af91095232eb36c9e28 Mon Sep 17 00:00:00 2001 From: Syafa Hadyan Rasendriya Date: Wed, 11 Nov 2026 10:32:12 +0700 Subject: [PATCH 1/2] fix(build): bump Go to 1.27.4 for a net/http fix --- Dockerfile | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 41af91f..af39a0e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # The build runs on the machine that builds the image and cross-compiles for the target, so an arm64 image needs no emulation -FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:f2c872bcee949b7be9c490efd02b48a8a2fbf947cdf533f1c58525ec9d8170fd AS build +FROM --platform=$BUILDPLATFORM golang:1.27.4-alpine@sha256:0a5f7fe796599ff487605987432e7619ae45beeb2fba4c2ce0b907879932aebf AS build WORKDIR /src diff --git a/go.mod b/go.mod index 07dc54d..634d782 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/aethera-deeptech/backend -go 1.27.3 +go 1.27.4 require ( github.com/caarlos0/env/v11 v11.4.1 From 722dc51688146f9721674d01591cb335d10c769b Mon Sep 17 00:00:00 2001 From: Syafa Hadyan Rasendriya Date: Wed, 11 Nov 2026 10:33:52 +0700 Subject: [PATCH 2/2] fix(build): keep the floating 1.27 alpine tag and pin its current digest --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index af39a0e..8636310 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # The build runs on the machine that builds the image and cross-compiles for the target, so an arm64 image needs no emulation -FROM --platform=$BUILDPLATFORM golang:1.27.4-alpine@sha256:0a5f7fe796599ff487605987432e7619ae45beeb2fba4c2ce0b907879932aebf AS build +FROM --platform=$BUILDPLATFORM golang:1.27-alpine@sha256:eb61c3873c97416fff0116553fff65d67a3549f72e11d9758849a689cdd8b523 AS build WORKDIR /src