-
-
Notifications
You must be signed in to change notification settings - Fork 583
Open
Description
Describe the bug
When trying to do the Docker Setup, I encounter an apt error.
This is because the underlying linux distribution of the base image node:16.16.0 is Debian Buster, which is now archived. The apt repositories have been moved and are no longer available at the usual URLs.
I solved this problem by switching the base image to node:16.16.0-bullseye.
Probably one can select even a newer one, but I don't know which nodejs version is supported.
To Reproduce
Steps to reproduce the behavior:
- Clone git repository and cd in working copy
- Run
docker build -t make-sense -f docker/Dockerfile .
Expected behavior
Docker build succeeds.
Screenshots
Error message:
Step 1/6 : FROM node:16.16.0
---> 954cea825b78
Step 2/6 : RUN apt-get update && apt-get -y install git && rm -rf /var/lib/apt/lists/*
---> Running in e870897a966c
Ign:1 http://deb.debian.org/debian buster InRelease
Ign:2 http://deb.debian.org/debian-security buster/updates InRelease
Ign:3 http://deb.debian.org/debian buster-updates InRelease
Err:4 http://deb.debian.org/debian buster Release
404 Not Found [IP: 151.101.2.132 80]
Err:5 http://deb.debian.org/debian-security buster/updates Release
404 Not Found [IP: 151.101.2.132 80]
Err:6 http://deb.debian.org/debian buster-updates Release
404 Not Found [IP: 151.101.2.132 80]
Reading package lists...
E: The repository 'http://deb.debian.org/debian buster Release' does not have a Release file.
E: The repository 'http://deb.debian.org/debian-security buster/updates Release' does not have a Release file.
E: The repository 'http://deb.debian.org/debian buster-updates Release' does not have a Release file.
The command '/bin/sh -c apt-get update && apt-get -y install git && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
Desktop:
- OS: Ubuntu 24.04.1 (on WSL2)
Metadata
Metadata
Assignees
Labels
No labels