Skip to content

Commit 68e314f

Browse files
committed
Use focal base image
Signed-off-by: Saikrishna Edupuganti <[email protected]>
1 parent fb0d627 commit 68e314f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

env/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# vim: syntax=dockerfile
22

3-
# Bionic Beaver (18.04) does not require ppa repositories for any packages
4-
# we need, such as g++-7, clang-6.0, ansible, grpc, etc.
5-
ARG BASE_IMAGE=ubuntu:bionic
3+
ARG BASE_IMAGE=ubuntu:focal
64
FROM ${BASE_IMAGE}
75

86
RUN echo "APT::Install-Recommends false;" >> /etc/apt/apt.conf.d/00recommends && \
@@ -21,7 +19,7 @@ RUN apt-get -q update && \
2119
apt-get purge -y ansible && \
2220
apt-get autoremove -y && \
2321
rm -rf /var/lib/apt/lists
24-
22+
RUN update-alternatives --install /usr/local/bin/python python /usr/bin/python3 3
2523
RUN mkdir -p /build/bess
2624

2725
# Build DPDK testpmd (used in bessctl samples)

env/rebuild_images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
TARGET_REPO = 'nefelinetworks/bess_build'
4141

4242
imgs = {
43-
'bionic64': {'base': 'ubuntu:bionic', 'tag_suffix': ''},
43+
'focal64': {'base': 'ubuntu:focal', 'tag_suffix': ''},
4444
}
4545

4646

0 commit comments

Comments
 (0)