fast-refrigerator-12613
08/28/2024, 5:20 PMdocker_environment
, the following correctly pulls the image and works correctly
docker_environment(
name="docker_linux",
platform="linux_x86_64",
image="***.<http://azurecr.io/foo/bar:latest|azurecr.io/foo/bar:latest>",
python_bootstrap_search_path=["<PATH>"],
)
However, when I try to build a docker_image
where the base is also pulled from that same repository, I get a failed to authorize
error
docker_image(
name="baz",
dependencies=[...],
image_tags=["local"],
)
Dockerfile
FROM FROM ***.<http://azurecr.io/fizz/buzz:latest|azurecr.io/fizz/buzz:latest>
pants.toml
[docker]
build_verbose = true
env_vars = ["DOCKER_CONFIG=%(homedir)s/.docker"]
Can someone point me in the right direction?fast-refrigerator-12613
08/28/2024, 6:17 PM[docker]
build_args = ["HOME"],
build_verbose = true