Thank you for the feedback and for sharing this link! Unfortunately ArcGIS does not play well with Docker yet (this is due to licensing issues). As far as I'm aware, the only way to license the arcpy conda environment is by manually installing ArcGIS Pro on the host machine.
I'm going to explore cloning the arcpy conda environment into each new dagster project and try managing package dependencies with pipenv. It sounds like
support for pipenv was recently introduced with ArcGIS Pro >=2.9.
I've also experienced endless issues with ESRI software. I hate that it's closed source and it's really expensive for how often it breaks, and how poor their technical support is. We've already replaced it with the
sf library and
PostGIS for 90% of our work, but we are still dependent on its Network Analyst Utils and StreetMapPremium dataset. These tools are often mandated by state regulators and we haven't been able to convince them to let us use pgRouting and OSM yet...
Thanks again for help! If I make any progress with arcpy and pipenv I'll be sure to document that here.