Skip to content

Commit

Permalink
Pin race test image to debian:trixie
Browse files Browse the repository at this point in the history
Go 1.20.x apparently needs a GLIBC version that older Debians
don't provide.
  • Loading branch information
jwkohnen committed Jul 6, 2023
1 parent 1c3e718 commit 3919285
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile-race
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ RUN go mod verify
RUN go test --race ./...
RUN go build --race -o conntrack-stats-exporter

FROM debian:stable-slim
FROM debian:trixie-slim
RUN apt-get update
RUN apt-get -qy install conntrack iproute2
RUN apt-get -qy --no-install-recommends install conntrack iproute2
COPY --from=build /conntrack-stats-exporter/conntrack-stats-exporter /usr/local/sbin/
ENTRYPOINT [ "/usr/local/sbin/conntrack-stats-exporter" ]

0 comments on commit 3919285

Please sign in to comment.