https://pantsbuild.org/ logo
#general
Title
# general
j

jolly-kite-53356

04/19/2023, 4:50 PM
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

enough-analyst-54434

04/19/2023, 4:53 PM
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

jolly-kite-53356

04/19/2023, 4:56 PM
Got u, I’ll use the sha256 then, thanks!