Skip to content

Commit

Permalink
Use focal base image
Browse files Browse the repository at this point in the history
Signed-off-by: Saikrishna Edupuganti <[email protected]>
  • Loading branch information
krsna1729 committed Sep 27, 2021
1 parent fb0d627 commit 68e314f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions env/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# vim: syntax=dockerfile

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

RUN echo "APT::Install-Recommends false;" >> /etc/apt/apt.conf.d/00recommends && \
Expand All @@ -21,7 +19,7 @@ RUN apt-get -q update && \
apt-get purge -y ansible && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists

RUN update-alternatives --install /usr/local/bin/python python /usr/bin/python3 3
RUN mkdir -p /build/bess

# Build DPDK testpmd (used in bessctl samples)
Expand Down
2 changes: 1 addition & 1 deletion env/rebuild_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
TARGET_REPO = 'nefelinetworks/bess_build'

imgs = {
'bionic64': {'base': 'ubuntu:bionic', 'tag_suffix': ''},
'focal64': {'base': 'ubuntu:focal', 'tag_suffix': ''},
}


Expand Down

0 comments on commit 68e314f

Please sign in to comment.