When using `docker_environment` is there a way to ...
# general
r
When using
docker_environment
is there a way to provide instructions? We need some OS dependencies installed to build the pex. The only option I see is image but we would need to pre-build that? Otherwise can we have another target be the image source and make the environment dependent on that?
I may have a work around. Create a new docker_image target and target the stage for os base deps and exclude dependency on the pex that needs to be built in the docker environment. Build that image first. Then run the docker build on the docker_image target that includes the pex that is built in the docker environment. Lots of moving pieces tho
c