From a0266011d255ccf340f0b5d91843d22943b51cc3 Mon Sep 17 00:00:00 2001 From: David Verbeiren Date: Tue, 25 Aug 2020 10:37:41 +0200 Subject: [PATCH] Ubuntu 19.04 is EOL but keep using it We cannot move right-away to Ubuntu 20.04 because * lib syscall_intercept doesn't work with more recent libc See issue https://github.com/pmem/syscall_intercept/issues/97. Proposed change is not merged yet (though appears to work, so we could go to that specific commit) * scapy operation seems to have issues where an ACK goes out automatically before our SYN+ACK response to the incoming SYN. Also, there are other problems building scapy on 19.10. Let's differ the move to 20.04 LTS to a later time. Signed-off-by: David Verbeiren --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index cfb05d2..4be9eb2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,12 @@ FROM ubuntu:19.04 LABEL maintainer="Tessares (contact gregory.vanderschueren@tessares.net)" LABEL description="All deps for building & running tests of libconvert" +# Ubuntu 19.04 is EOL +RUN sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list + +ARG DEBIAN_FRONTEND=noninteractive +ENV TZ=Europe/Brussels + RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ check \