|
1 | | -FROM ubuntu:bionic-20200921 as python-build |
| 1 | +FROM ubuntu:focal-20210713 as python-build |
2 | 2 |
|
3 | 3 | # environment variables |
4 | 4 | ENV \ |
|
9 | 9 |
|
10 | 10 | # install packages |
11 | 11 | 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 && \ |
15 | 15 | apt-get update && \ |
16 | 16 | apt-get install -y --no-install-recommends \ |
17 | 17 | build-essential \ |
|
43 | 43 | --ignore-installed \ |
44 | 44 | --target /tmp/packages |
45 | 45 |
|
46 | | -FROM ubuntu:bionic-20200921 as base |
| 46 | +FROM ubuntu:focal-20210713 as base |
47 | 47 |
|
48 | 48 | # environment variables |
49 | 49 | ENV \ |
|
54 | 54 |
|
55 | 55 | # install packages |
56 | 56 | 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 && \ |
60 | 60 | apt-get update && \ |
61 | 61 | apt-get install -y --no-install-recommends \ |
62 | 62 | bind9-host \ |
|
67 | 67 | ed \ |
68 | 68 | gpg \ |
69 | 69 | gpg-agent \ |
| 70 | + haproxy \ |
70 | 71 | inotify-tools \ |
71 | 72 | iproute2 \ |
72 | 73 | libvirt0 \ |
|
76 | 77 | runit \ |
77 | 78 | wget \ |
78 | 79 | && \ |
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 && \ |
83 | 80 | apt-get clean && \ |
84 | 81 | rm -rf /var/lib/apt/lists && \ |
85 | 82 | rm -vf /etc/ssh/ssh_host_* |
|
0 commit comments