When I try to update the list of repositories in the Docker image based on "node: 8", the following error appears:
Err http://http.debian.net jessie-backports/main amd64 Packages
Solution
Dockerfile:
FROM node:8 RUN echo "deb [check-valid-until=no] http://cdn-fastly.deb.debian.org/debian jessie main" > /etc/apt/sources.list.d/jessie.list && \ echo "deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list && \ sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt/sources.list && \ apt-get -o Acquire::Check-Valid-Until=false update