Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 2.1
executors:
golang:
docker:
- image: cimg/go:1.23
- image: cimg/go:1.24
vm:
machine:
image: ubuntu-2204:current
Expand Down Expand Up @@ -59,8 +59,8 @@ workflows:
matrix:
parameters:
version:
- "1.22"
- "1.23"
- "1.24"
filters:
tags:
only: /.*/
Expand Down
2 changes: 1 addition & 1 deletion 1.22/Makefile.COMMON → 1.24/Makefile.COMMON
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ REPOSITORY := quay.io/prometheus
NAME := golang-builder
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
SUFFIX ?= -$(subst /,-,$(BRANCH))
VERSION := 1.22.12
VERSION := 1.24.0
DIRNAME := $(shell basename $(CURDIR))
IMAGE_DIR ?= .build
IMAGE := $(REPOSITORY)/$(NAME)
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions 1.22/base/Dockerfile → 1.24/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ RUN \
&& chmod 0755 /bin/yq \
&& rm -rf /var/lib/apt/lists/*

ENV GOLANG_VERSION 1.22.12
ENV GOLANG_VERSION 1.24.0
ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz
ENV GOLANG_DOWNLOAD_SHA256 4fa4f869b0f7fc6bb1eb2660e74657fbf04cdd290b5aef905585c86051b34d43
ENV GOLANG_DOWNLOAD_SHA256 dea9ca38a0b852a74e81c26134671af7c0fbe65d81b0dc1c5bfe22cf7d4c8858

RUN go_file=$(/bin/download.sh ${GOLANG_DOWNLOAD_URL} ${GOLANG_DOWNLOAD_SHA256}) \
&& tar -C /usr/local -xzf ${go_file} \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion 1.22/main/Dockerfile → 1.24/main/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM rust:latest as rustbuilder

RUN cargo install --git https://github.com/indygreg/apple-platform-rs --branch main --bin rcodesign apple-codesign

FROM quay.io/prometheus/golang-builder:1.22-base
FROM quay.io/prometheus/golang-builder:1.24-base
MAINTAINER The Prometheus Authors <prometheus-developers@googlegroups.com>

RUN \
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
REPOSITORY := quay.io/prometheus
NAME := golang-builder
VARIANTS ?= base main
VERSION ?= 1.23
VERSION ?= 1.24

all: build

Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@

Docker Builder Image for cross-building Golang Prometheus projects.

- `latest`, `main`, `1.23.6-main`, `1.23.6-main` ([1.23.6/main/Dockerfile](1.23.6/main/Dockerfile))
- `arm`, `1.23.6-arm`, `1.23.6-arm` ([1.23.6/arm/Dockerfile](1.23.6/arm/Dockerfile))
- `powerpc`, `1.23.6-powerpc`, `1.23.6-powerpc` ([1.23.6/powerpc/Dockerfile](1.23.6/powerpc/Dockerfile))
- `mips`, `1.23.6-mips`, `1.23.6-mips` ([1.23.6/mips/Dockerfile](1.23.6/mips/Dockerfile))
- `s390x`, `1.23.6-s390x`, `1.23.6-s390x` ([1.23.6/s390x/Dockerfile](1.23.6/s390x/Dockerfile))
- `1.22-main`, `1.22.12-main` ([1.22/main/Dockerfile](1.22/main/Dockerfile))
- `arm`, `1.22-arm`, `1.22.12-arm` ([1.22/arm/Dockerfile](1.22/arm/Dockerfile))
- `powerpc`, `1.22-powerpc`, `1.22.12-powerpc` ([1.22/powerpc/Dockerfile](1.22/powerpc/Dockerfile))
- `mips`, `1.22-mips`, `1.22.12-mips` ([1.22/mips/Dockerfile](1.22/mips/Dockerfile))
- `s390x`, `1.22-s390x`, `1.22.12-s390x` ([1.22/s390x/Dockerfile](1.22/s390x/Dockerfile))
- `latest`, `main`, `1.24.0-main`, `1.24.0-main` ([1.24.0/main/Dockerfile](1.24.0/main/Dockerfile))
- `arm`, `1.24.0-arm`, `1.24.0-arm` ([1.24.0/arm/Dockerfile](1.24.0/arm/Dockerfile))
- `powerpc`, `1.24.0-powerpc`, `1.24.0-powerpc` ([1.24.0/powerpc/Dockerfile](1.24.0/powerpc/Dockerfile))
- `mips`, `1.24.0-mips`, `1.24.0-mips` ([1.24.0/mips/Dockerfile](1.24.0/mips/Dockerfile))
- `s390x`, `1.24.0-s390x`, `1.24.0-s390x` ([1.24.0/s390x/Dockerfile](1.24.0/s390x/Dockerfile))
- `1.23-main`, `1.23.6-main` ([1.23/main/Dockerfile](1.23/main/Dockerfile))
- `arm`, `1.23-arm`, `1.23.6-arm` ([1.23/arm/Dockerfile](1.23/arm/Dockerfile))
- `powerpc`, `1.23-powerpc`, `1.23.6-powerpc` ([1.23/powerpc/Dockerfile](1.23/powerpc/Dockerfile))
- `mips`, `1.23-mips`, `1.23.6-mips` ([1.23/mips/Dockerfile](1.23/mips/Dockerfile))
- `s390x`, `1.23-s390x`, `1.23.6-s390x` ([1.23/s390x/Dockerfile](1.23/s390x/Dockerfile))

## Usage

Expand Down