docker-image-resource icon indicating copy to clipboard operation
docker-image-resource copied to clipboard

Using docker images from previous build stages

Open SudoerWithAnOpinion opened this issue 6 years ago • 0 comments

When I build a Dockerfile containing a FROM instruction, the docker engine expects the image to be available (a reasonable assumption) however, the FROM image I'd like to use is from an earlier step in my build pipeline.

The problem is that the PUT step of the first image sets the image as repository/image:tag but my FROM instruction asks for image:tag Using the load_bases config makes the repository/image:tag available, but it's not useable since it's technically a different image name. Is there a way to get around this?

SudoerWithAnOpinion avatar Jan 31 '19 00:01 SudoerWithAnOpinion