docker-image-resource
docker-image-resource copied to clipboard
Using docker images from previous build stages
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?