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 Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# builder image
FROM golang:1.23.3-alpine3.20 AS builder
FROM golang:1.24.2-alpine3.21 AS builder

ENV CGO_ENABLED=0
RUN apk --no-cache add alpine-sdk
WORKDIR /go/src/github.com/linki/chaoskube
COPY . .
RUN go test -v ./...
RUN GODEBUG=randseednop=0 go test -v ./...
RUN go build -o /usr/local/bin/chaoskube -v \
-ldflags "-X main.version=$(git describe --tags --always --dirty) -w -s"
RUN /usr/local/bin/chaoskube --version
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ TPARSE := $(shell tparse --version 2>/dev/null)

check:
ifdef TPARSE
go test ./... -race -cover -json | tparse -all
GODEBUG=randseednop=0 go test ./... -race -cover -json | tparse -all
else
go test ./... -race -cover
GODEBUG=randseednop=0 go test ./... -race -cover
endif

test: check
Expand Down
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module github.com/linki/chaoskube

go 1.23.2
toolchain go1.24.1
go 1.24.2

require (
github.com/alecthomas/kingpin/v2 v2.4.0
Expand Down