Hi all, I’m setting up the docker_environment like...
# general
j
Hi all, I’m setting up the docker_environment like this
Copy code
docker_environment(
    name="python_bullseye",
    platform="linux_x86_64",
    image="base_image:latest",
    python_bootstrap_search_path=["<PATH>"],
)
the
base_image
is a customized base image I build locally, it seems like it didn’t pick up new build even if I set it to
latest
, can someone help me understand if I’m doing any wrong here?
e
Almost certainly the image field is used as a cache key. I'd stick to naming exactly what you mean for now at least and listing the sha256 of the image when you re-gen it just like the example here: https://www.pantsbuild.org/docs/environments#use-a-docker_environment-to-build-the-inputs-to-a-docker_image
j
Got u, I’ll use the sha256 then, thanks!