I am trying to create a docker image from my docker file which has following contains
FROM ubuntu:14.04.4
RUN echo \'deb http://private-repo-1.hortonworks.co
I had the same problem, solved it thanks to this answer :
https://superuser.com/questions/1423486/issue-with-fetching-http-deb-debian-org-debian-dists-jessie-updates-inrelease/1424377
You may want to add this line
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
before any apt-get command in the Dockerfile.