From 5a240f438d6ef51424f532c040ce2b87e9c94461 Mon Sep 17 00:00:00 2001 From: Dave Marchevsky Date: Mon, 13 Feb 2023 23:37:25 -0500 Subject: [PATCH] [DRAFT] Add golang to ubuntu dockerfiles In order to support properly testing ongoing work to incorporate `iovisor/gobpf` code into this repo (https://github.com/iovisor/bcc/pull/4449), we need to be able to test the bindings in this repository. So try adding `golang-go` to the ubuntu container. Note that we can't use `actions/setup-go@v2` GH action used by `gobpf`'s CI as we're running tests within containers on the CI, not directly on the CI. Marking [DRAFT] for now as I haven't touched the dockerfiles in a while and probably forgot / am misunderstanding something. --- docker/build/Dockerfile.ubuntu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/build/Dockerfile.ubuntu b/docker/build/Dockerfile.ubuntu index 08640fb7c777..950c82fa34d0 100644 --- a/docker/build/Dockerfile.ubuntu +++ b/docker/build/Dockerfile.ubuntu @@ -63,7 +63,8 @@ RUN apt-get update && apt-get install -y \ libtinfo-dev \ iperf \ netperf \ - xz-utils && \ + xz-utils \ + golang-go && \ apt-get -y clean RUN pip3 install pyroute2==0.5.18 netaddr==0.8.0 dnslib==0.9.14 cachetools==3.1.1