Docker Community Forums

Share and learn in the Docker community.

Specifying versions of other Images with FROM

docker
build

(Jrick6) #1

So I wrote my dockerfile using the continuumio/anaconda3 Image on dockerhub. Recently docker updated and it appears that the version of the debian image that continuumio/anaconda3 was based on was updated. This broke my dockerfile’s build since it slightly changed a package name that I was trying to install using the apt-get command in the dockerfile. So I was wondering if their is a way I can still use the continuumio/anaconda3 image, but specify the version of debian that is used by this image. That way if updates happen in the future, my dockerfile won’t immediately break.

If this is not possible then should I just make my dockerfile be based on a specific version of the debian image from dockerhub, and then install anaconda3 through run commands in the dockerfile?