From b10ff7157f3e0e97e736e5a820c57a6a4cc0383f Mon Sep 17 00:00:00 2001 From: Gareth Sylvester-Bradley Date: Fri, 18 Aug 2023 14:00:25 +0100 Subject: [PATCH] Python 3.6 (and 3.7!) is End-Of-Life, and so is Node.js 14.x Libraries like python-zeroconf are starting to depend on more recent Python features --- Dockerfile | 10 +++++----- docs/1.1. Installation - Local.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 08fcfef8..8c000875 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:bionic +FROM ubuntu:focal WORKDIR /home/nmos-testing ADD . . @@ -7,9 +7,9 @@ ADD .git .git RUN apt-get update \ && export DEBIAN_FRONTEND=noninteractive \ && apt-get install -y wget \ - && wget https://deb.nodesource.com/setup_14.x \ - && chmod 755 setup_14.x \ - && /home/nmos-testing/setup_14.x \ + && wget https://deb.nodesource.com/setup_16.x \ + && chmod 755 setup_16.x \ + && /home/nmos-testing/setup_16.x \ && apt-get install -y --no-install-recommends \ gcc openssl libssl-dev wget ca-certificates avahi-daemon avahi-utils libnss-mdns libavahi-compat-libdnssd-dev \ python3 python3-pip python3-dev nodejs \ @@ -26,7 +26,7 @@ RUN apt-get update \ && rm v3.0.7.tar.gz \ && npm config set unsafe-perm true \ && npm install -g AMWA-TV/sdpoker#v0.3.0 \ - && rm /home/nmos-testing/setup_14.x \ + && rm /home/nmos-testing/setup_16.x \ && apt-get remove -y wget \ && apt-get clean -y --no-install-recommends \ && apt-get autoclean -y --no-install-recommends \ diff --git a/docs/1.1. Installation - Local.md b/docs/1.1. Installation - Local.md index d7249421..57fd68fa 100644 --- a/docs/1.1. Installation - Local.md +++ b/docs/1.1. Installation - Local.md @@ -4,7 +4,7 @@ Please ensure that the following dependencies are installed on your system first. -- Python 3.6 or higher, including the 'pip' package manager +- Python 3.8 or higher, including the 'pip' package manager - Git - [testssl.sh](https://testssl.sh) (required for BCP-003-01 testing, see our [README](../testssl/README.md) for instructions) - [OpenSSL](https://www.openssl.org/) (required for BCP-003-01 OCSP testing)