From cde41499867d71a628a7cfa1e44e10884386b02a Mon Sep 17 00:00:00 2001 From: Zeeshan Qureshi Date: Thu, 22 Oct 2020 00:48:22 -0400 Subject: [PATCH] feat: upgrade bpftrace to v0.11.1 and ubuntu 20.04 --- Makefile | 2 +- build/Dockerfile.tracerunner | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8e4384f6..3398ba99 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ IMAGE_INITCONTAINER_LATEST := $(IMAGE_NAME_INIT):latest IMAGE_BUILD_FLAGS ?= "--no-cache" -BPFTRACEVERSION ?= "v0.9.4" +BPFTRACEVERSION ?= "v0.11.1" LDFLAGS := -ldflags '-X github.com/iovisor/kubectl-trace/pkg/version.buildTime=$(shell date +%s) -X github.com/iovisor/kubectl-trace/pkg/version.gitCommit=${GIT_COMMIT} -X github.com/iovisor/kubectl-trace/pkg/cmd.ImageNameTag=${IMAGE_TRACERUNNER_COMMIT} -X github.com/iovisor/kubectl-trace/pkg/cmd.InitImageNameTag=${IMAGE_INITCONTAINER_COMMIT}' TESTPACKAGES := $(shell go list ./... | grep -v github.com/iovisor/kubectl-trace/integration) diff --git a/build/Dockerfile.tracerunner b/build/Dockerfile.tracerunner index 1de5a91e..404ddb6f 100644 --- a/build/Dockerfile.tracerunner +++ b/build/Dockerfile.tracerunner @@ -1,4 +1,4 @@ -ARG bpftraceversion=v0.9.4 +ARG bpftraceversion=v0.11.1 FROM quay.io/iovisor/bpftrace:$bpftraceversion as bpftrace FROM golang:1.11.4-stretch as gobuilder @@ -11,7 +11,7 @@ WORKDIR /go/src/github.com/iovisor/kubectl-trace RUN make _output/bin/trace-runner -FROM ubuntu:19.10 +FROM ubuntu:20.04 RUN apt-get update RUN apt-get install -y xz-utils