Building docker using "ubuntu:disco" as base image currently fails, now that 19.04 has reached end-of-life.
E: The repository 'http://security.ubuntu.com/ubuntu disco-security Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu disco Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu disco-updates Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu disco-backports Release' does not have a Release file.
The command '/bin/sh -c apt-get -q update && apt-get -q -y install make git curl wget libpcap-dev libelf-dev hugepages libnuma-dev libhyperscan-dev liblua5.3-dev libmnl-dev libibverbs-dev' returned a non-zero code: 100
The command "docker build --build-arg https_proxy=${https_proxy} -t test-disco ." failed and exited with 100 during .
This PR suggests a way to fix this by using Ubuntu focal (20.04) instead, as it's the latest LTS release. Another option could be to use Ubuntu eoan (19.10) but the issue would come back in a few months.
In Ubuntu 20.04, the hugepages package is replaced by libhugetlbfs-bin it seems.
E: Unable to locate package hugepages
The command '/bin/sh -c apt-get -q update && apt-get -q -y install make git curl wget libpcap-dev libelf-dev hugepages libnuma-dev libhyperscan-dev liblua5.3-dev libmnl-dev libibverbs-dev' returned a non-zero code: 100
Building docker using "ubuntu:disco" as base image currently fails, now that 19.04 has reached end-of-life.
This PR suggests a way to fix this by using Ubuntu focal (20.04) instead, as it's the latest LTS release. Another option could be to use Ubuntu eoan (19.10) but the issue would come back in a few months.
In Ubuntu 20.04, the hugepages package is replaced by libhugetlbfs-bin it seems.
https://launchpad.net/ubuntu/focal/+package/libhugetlbfs-bin https://launchpad.net/ubuntu/focal/+package/hugepages