Hi,
Any suggestion of best practices of how to set up a
"proper" dev
environment for SaToSa, preferably in combination with docker?
In addition to what Ivan and Johan have said, you can just run a SATOSA
container but overlay your Git repositories and then start the container
with PYTHONPATH defined so that Python loads your repositories instead
of the code "installed" in the container.
I do this with both SATOSA and pySAML2 source with something like this:
docker run -d --name satosa \
-v /home/skoranda/IdentityPython/SATOSA/src:/opt/satosa \
-v
/home/skoranda/IdentityPython/satosa_microservices/src/satosa/micro_services:/opt/satosa_microservices
\
-v /home/skoranda/IdentityPython/pysaml2/src:/opt/pysaml \
-e PYTHONPATH=/opt/satosa_microservices:/opt/satosa:/opt/pysaml \
-p 443:8443 \
skoranda/satosa
The directories under /home/skoranda/IdentityPython are the Git repositories
with the source in whatever state I need (e.g., checked out into a new development
branch).
HTH,
Scott K