Skip to content

Commit 7e2ff58

Browse files
committed
docker: upgrade base image to focal-20210713
1 parent aee10fd commit 7e2ff58

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

Dockerfile

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:bionic-20200921 as python-build
1+
FROM ubuntu:focal-20210713 as python-build
22

33
# environment variables
44
ENV \
@@ -9,9 +9,9 @@ ENV \
99

1010
# install packages
1111
RUN \
12-
echo "deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse" >/etc/apt/sources.list && \
13-
echo "deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse" >>/etc/apt/sources.list && \
14-
echo "deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse" >>/etc/apt/sources.list && \
12+
echo "deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse" >/etc/apt/sources.list && \
13+
echo "deb http://security.ubuntu.com/ubuntu focal-security main restricted universe multiverse" >>/etc/apt/sources.list && \
14+
echo "deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse" >>/etc/apt/sources.list && \
1515
apt-get update && \
1616
apt-get install -y --no-install-recommends \
1717
build-essential \
@@ -43,7 +43,7 @@ RUN \
4343
--ignore-installed \
4444
--target /tmp/packages
4545

46-
FROM ubuntu:bionic-20200921 as base
46+
FROM ubuntu:focal-20210713 as base
4747

4848
# environment variables
4949
ENV \
@@ -54,9 +54,9 @@ ENV \
5454

5555
# install packages
5656
RUN \
57-
echo "deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse" >/etc/apt/sources.list && \
58-
echo "deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse" >>/etc/apt/sources.list && \
59-
echo "deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse" >>/etc/apt/sources.list && \
57+
echo "deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse" >/etc/apt/sources.list && \
58+
echo "deb http://security.ubuntu.com/ubuntu focal-security main restricted universe multiverse" >>/etc/apt/sources.list && \
59+
echo "deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse" >>/etc/apt/sources.list && \
6060
apt-get update && \
6161
apt-get install -y --no-install-recommends \
6262
bind9-host \
@@ -67,6 +67,7 @@ RUN \
6767
ed \
6868
gpg \
6969
gpg-agent \
70+
haproxy \
7071
inotify-tools \
7172
iproute2 \
7273
libvirt0 \
@@ -76,10 +77,6 @@ RUN \
7677
runit \
7778
wget \
7879
&& \
79-
echo "deb http://ppa.launchpad.net/vbernat/haproxy-2.2/ubuntu bionic main" >>/etc/apt/sources.list.d/haproxy.list && \
80-
http_proxy='' apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CFFB779AADC995E4F350A060505D97A41C61B9CD && \
81-
apt-get update && \
82-
apt-get install -y --no-install-recommends haproxy && \
8380
apt-get clean && \
8481
rm -rf /var/lib/apt/lists && \
8582
rm -vf /etc/ssh/ssh_host_*

0 commit comments

Comments
 (0)