Skip to content

Instantly share code, notes, and snippets.

@digitalkreativ
Last active April 18, 2019 15:12
Show Gist options
  • Save digitalkreativ/162a8a6908bade86cb6795ec8e53138c to your computer and use it in GitHub Desktop.
Save digitalkreativ/162a8a6908bade86cb6795ec8e53138c to your computer and use it in GitHub Desktop.
Docker links #docker

Errocode 100 on apt-get update

When using the command apt-get update sometimes your file just won't build. Most of the time this is due to the sources used by apt-get not being up-to-date.

The following RUN command can be added if your image is based on debian/jessie

# UPDATE SOURCES 
RUN printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://archive.debian.org/debian/ jessie main\ndeb http://security.debian.org jessie/updates main\ndeb-src http://security.debian.org jessie/updates main" > /etc/apt/sources.list

Source: https://superuser.com/questions/1423486/issue-with-fetching-http-deb-debian-org-debian-dists-jessie-updates-inrelease

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment