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

error when build the docker image #1

Open
ethaniz opened this issue Aug 12, 2019 · 0 comments
Open

error when build the docker image #1

ethaniz opened this issue Aug 12, 2019 · 0 comments

Comments

@ethaniz
Copy link

ethaniz commented Aug 12, 2019

when I build the docker image, I met the error because Jessie were recently removed from the mirror network. I follow this link https://unix.stackexchange.com/questions/508724/failed-to-fetch-jessie-backports-repository to modify the Dockerfile and it works fine.

RUN echo "deb [check-valid-until=no] http://cdn-fastly.deb.debian.org/debian jessie main" > /etc/apt/sources.list.d/jessie.list
RUN echo "deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
RUN sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt/sources.list
RUN apt-get -o Acquire::Check-Valid-Until=false update
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