pulumi/pulumi:vX.Y.Z
does not share layers beyond the base image with prior images
#116
Labels
kind/enhancement
Improvements or new features
Even when commands run by the Dockerfile are identical up to the installation of
pulumi
, the latest image does not share any layers with prior images. This may be by-design--it ensures that each new version is actually runningyum update
, amongst other things--but it means that even ifpulumi/pulumi:v1.2.3
is present locally,docker pull pulumi/pulumi:v1.2.4
will always pull all layers besides the base (python:3.9-slim
). This means that pulling a new version ofpulumi/pulumi
ends up downloading something like 750MB of data.It might be nice to e.g. factor out the installation of the dependencies into its own image that can serve as the base image for
pulumi/pulumi
. That base image could then be updated at its own cadence, and new versions ofpulumi/pulumi
would be able to share all layers up to the installation of Pulumi itself.The text was updated successfully, but these errors were encountered: