1
- FROM ubuntu:22.04
1
+ ARG BASE_IMAGE=ubuntu:22.04
2
+ FROM $BASE_IMAGE
2
3
3
4
ENV DEBIAN_FRONTEND="noninteractive"
4
5
@@ -7,14 +8,14 @@ ENV DEBIAN_FRONTEND="noninteractive"
7
8
# equivalents for your distribution:
8
9
# -------------------------------------------------------------------------------
9
10
RUN apt-get update && apt-get install -y curl gnupg2 git \
10
- python-is-python3 python3 python3-distutils python3-pip \
11
+ python-is-python3 python3 python3-setuptools python3-pip \
11
12
build-essential crossbuild-essential-arm64 qemu-user-static \
12
13
openjdk-11-jdk-headless zip unzip \
13
14
apt-transport-https ca-certificates gnupg-agent \
14
15
software-properties-common \
15
16
pkg-config libffi-dev patch diffutils libssl-dev iptables kmod \
16
17
clang crossbuild-essential-amd64 erofs-utils busybox-static libbpf-dev \
17
- iproute2 netcat libnuma-dev
18
+ iproute2 netcat-openbsd libnuma-dev
18
19
19
20
# This package is needed to build eBPF on amd64, but not on arm64 where it
20
21
# doesn't exist.
@@ -33,7 +34,7 @@ RUN add-apt-repository \
33
34
RUN apt-get -y install docker-ce-cli
34
35
35
36
# Install gcloud.
36
- RUN curl https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-410 .0.0-linux-x86_64.tar.gz | \
37
+ RUN curl https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-535 .0.0-linux-x86_64.tar.gz | \
37
38
tar zxf - google-cloud-sdk && \
38
39
google-cloud-sdk/install.sh --quiet && \
39
40
ln -s /google-cloud-sdk/bin/gcloud /usr/bin/gcloud
0 commit comments