Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specify version for parent image to reference ubuntu 21.10 #216

Merged
merged 3 commits into from
Nov 7, 2022

Conversation

EugeneYushin
Copy link
Contributor

@EugeneYushin EugeneYushin commented Jun 23, 2022

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: #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.

image

Related commit with updating Ubuntu version: thomasWeise/docker-texlive-thin@91be46c

@@ -1,4 +1,4 @@
FROM thomasweise/docker-pandoc
FROM thomasweise/docker-pandoc:3.3
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@noelwelsh
Copy link
Contributor

Thanks!

@noelwelsh noelwelsh merged commit 6d9dc1e into scalawithcats:develop Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants