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

image update #96

Open
SuperElectron opened this issue Apr 22, 2020 · 0 comments
Open

image update #96

SuperElectron opened this issue Apr 22, 2020 · 0 comments

Comments

@SuperElectron
Copy link

SuperElectron commented Apr 22, 2020

There is an issue with apt-get update for the docker image bde2020/spark-master:2.2.0-hadoop2.8-hive-java8. It is impossible to update and throws a weird errors. Reference this for the solution: https://superuser.com/questions/1417617/apt-get-update-is-failing-in-debian

This can be built using this repo, so I figured this is the place for the suggested fix.

  1. create a script: apt-fix.sh
  2. integrate it into the Dockerfile for base folder and generate the image BASE image
    and MASTER image ( docker build ... docker run .... )
  3. push it back to the dockerhub repo

fix debian 8 (jessie) issue: apt-get update fails

touch copy.list && chmod 777 copy.list
echo "deb http://archive.debian.org/debian/ jessie main" >> copy.list &&
echo "deb-src http://archive.debian.org/debian/ jessie main" >> copy.list &&
echo "deb http://security.debian.org jessie/updates main" >> copy.list &&
echo "deb-src http://security.debian.org jessie/updates main" >> copy.list
echo "$(cat copy.list)" > /etc/apt/sources.list
cat /etc/apt/sources.list

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

No branches or pull requests

1 participant