diff --git a/Dockerfile b/Dockerfile index d673181..7102649 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.13.0 +FROM golang:1.17.0 COPY . /src/ WORKDIR /src/ @@ -11,6 +11,6 @@ RUN make clean \ && make test \ && make -FROM ubuntu:xenial +FROM ubuntu:focal COPY --from=0 /src/kubernetes-oom-event-generator /usr/bin/kubernetes-oom-event-generator ENTRYPOINT ["/usr/bin/kubernetes-oom-event-generator"] diff --git a/Makefile b/Makefile index a4d04d4..865c0d2 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ BRANCH = $(shell git rev-parse --abbrev-ref HEAD) all: kubernetes-oom-event-generator kubernetes-oom-event-generator: - go build -i + go build clean: go clean ./...