Building sciruby-notebooks/dockerfile : Unable to find expected entry 'main/binary-amd64/Packages' and Rubygems error
Startouf opened this issue · 1 comments
Hello,
I am trying to set up a local docker image using the dockerfile from sciruby on docker on my macOS, and I'm running into the following error during RUN apt-get update
Step 4/9 : RUN apt-get update
---> Running in 4ce323dcf26b
Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign http://httpredir.debian.org jessie InRelease
Get:2 http://httpredir.debian.org jessie-updates InRelease [7,340 B]
Get:3 http://httpredir.debian.org jessie Release.gpg [2,420 B]
Get:4 http://httpredir.debian.org jessie Release [148 kB]
Get:5 http://security.debian.org jessie/updates/main amd64 Packages [865 kB]
Get:6 http://httpredir.debian.org jessie/main amd64 Packages [9,098 kB]
Fetched 10.2 MB in 14s (720 kB/s)
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/InRelease Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c apt-get update' returned a non-zero code: 100
I am investigating the internet to find a solution, but if any of you ran into the same problem or have any idea, I would gladly take it
- macOS Mojave 10.14.3
- Docker version 18.09.1, build 4c52b90
- MacBook Pro (Retina, 13-inch, Early 2015)
According to https://superuser.com/questions/1423486/issue-with-fetching-http-deb-debian-org-debian-dists-jessie-updates-inrelease and especially this answer, it seems like the Dockerfile is using a Debian build with a problem. Can we update it ?
NOTE : using the accepted answer worked on my computer, so if it's not possible to fix the main issue, we can add the suggested line in the dockerfile, I can make a PR