From 495321f35ecc423505d417a1f7dadf09d48dc75b Mon Sep 17 00:00:00 2001 From: Rune Henriksen Date: Wed, 19 Jan 2022 13:02:06 +0100 Subject: [PATCH] update image versions and remove deprecated go build flag --- Dockerfile | 4 ++-- Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 ./...