Skip to content

Commit

Permalink
Packaging: Re-add compatibility with glibc 2.31
Browse files Browse the repository at this point in the history
... by building on `golang:1.20-bullseye`.
  • Loading branch information
amotl committed Jan 19, 2024
1 parent 742fdeb commit 549f485
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ CHANGES for CrateDB Prometheus Adapter
Unreleased
==========

- Packaging: Re-add compatibility with glibc 2.31,
by building on ``golang:1.20-bullseye``.


2024-01-12 0.5.0
================

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21 as builder
FROM golang:1.20-bullseye as builder
WORKDIR /go/src/github.com/crate/cratedb-prometheus-adapter
COPY . /go/src/github.com/crate/cratedb-prometheus-adapter/
RUN CGO_ENABLED=0 GOOS=linux go build
Expand Down
2 changes: 1 addition & 1 deletion devtools/release.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Run release archive builder within Docker container.
#

FROM golang:1.21
FROM golang:1.20-bullseye

RUN apt-get update && apt-get --yes install zip

Expand Down

0 comments on commit 549f485

Please sign in to comment.