From ca58730ac609d9f2d3c4d237e294b18ce0f15fae Mon Sep 17 00:00:00 2001 From: Ajith Chandran Date: Sun, 7 Jun 2026 08:49:59 +0900 Subject: [PATCH 1/3] chore: build updates - bump go --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5d866ff..991825b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # syntax = docker/dockerfile:1.3 -FROM golang:1.26 AS build +FROM golang:1.26.4 AS build WORKDIR /go/src/github.com/mccutchen/go-httpbin From 51d3848bcd90968f4a8253a8a51afe9a348f3f1a Mon Sep 17 00:00:00 2001 From: Ajith Chandran Date: Sun, 7 Jun 2026 08:51:48 +0900 Subject: [PATCH 2/3] chore: build updates - fix cgo flag --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1c2d58c..15092e5 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ build: mkdir -p $(DIST_PATH) GIT_COMMIT=$$(git describe --always --dirty 2>/dev/null || echo "unknown"); \ BUILD_DATE=$$(date -u +%Y-%m-%dT%H:%M:%SZ); \ - CGO_ENABLED=0; \ + CGO_ENABLED=0 \ go build -ldflags="-s -w -X main.commit=$$GIT_COMMIT -X main.buildDate=$$BUILD_DATE" -o $(DIST_PATH)/go-httpbin ./cmd/go-httpbin .PHONY: build From 80c258a31abedda86037398d5929cfa92b086720 Mon Sep 17 00:00:00 2001 From: Ajith Chandran Date: Mon, 8 Jun 2026 11:22:48 +0900 Subject: [PATCH 3/3] back to 1.26 in the Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 991825b..5d866ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # syntax = docker/dockerfile:1.3 -FROM golang:1.26.4 AS build +FROM golang:1.26 AS build WORKDIR /go/src/github.com/mccutchen/go-httpbin