Closed EugeneYushin closed 1 year ago
docker-compose run book bash ... Step 4/10 : RUN curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && VERSION=node_12.x && DISTRO="$(lsb_release -s -c)" && echo "deb https://deb.nodesource.com/$VERSION $DISTRO main" | tee /etc/apt/sources.list.d/nodesource.list && echo "deb-src https://deb.nodesource.com/$VERSION $DISTRO main" | tee -a /etc/apt/sources.list.d/nodesource.list && apt-get update -y && apt-get install -y nodejs ---> Running in 2db443ae702a OK deb https://deb.nodesource.com/node_12.x jammy main deb-src https://deb.nodesource.com/node_12.x jammy main Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] Hit:2 http://mirrors.ustc.edu.cn/ubuntu jammy InRelease Get:3 http://mirrors.ustc.edu.cn/ubuntu jammy-updates InRelease [109 kB] Ign:4 https://deb.nodesource.com/node_12.x jammy InRelease Get:5 http://mirrors.ustc.edu.cn/ubuntu jammy-backports InRelease [99.8 kB] Err:6 https://deb.nodesource.com/node_12.x jammy Release 404 Not Found [IP: 86.57.191.51 443] Get:7 http://mirrors.ustc.edu.cn/ubuntu jammy-updates/universe amd64 Packages [162 kB] Get:8 http://mirrors.ustc.edu.cn/ubuntu jammy-updates/main amd64 Packages [406 kB] Reading package lists... E: The repository 'https://deb.nodesource.com/node_12.x jammy Release' does not have a Release file. ERROR: Service 'book' failed to build : The command '/bin/sh -c curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && VERSION=node_12.x && DISTRO="$(lsb_release -s -c)" && echo "deb https://deb.nodesource.com/$VERSION $DISTRO main" | tee /etc/apt/sources.list.d/nodesource.list && echo "deb-src https://deb.nodesource.com/$VERSION $DISTRO main" | tee -a /etc/apt/sources.list.d/nodesource.list && apt-get update -y && apt-get install -y nodejs' returned a non-zero code: 100
Related issue: https://github.com/scalawithcats/scala-with-cats/issues/194
The root cause is there's no deb file for node12 for Ubuntu 22.04 (jammy) which used in the latest docker-pandoc with docker-texlive-thin as a base image.
jammy
Related commit with updating Ubuntu version: https://github.com/thomasWeise/docker-texlive-thin/commit/91be46c5d1a91be3f401a007fff66302cc37711a
Thanks!
Related issue: https://github.com/scalawithcats/scala-with-cats/issues/194
The root cause is there's no deb file for node12 for Ubuntu 22.04 (
jammy
) which used in the latest docker-pandoc with docker-texlive-thin as a base image.Related commit with updating Ubuntu version: https://github.com/thomasWeise/docker-texlive-thin/commit/91be46c5d1a91be3f401a007fff66302cc37711a