Build deployment content in a Debian container instead of Python. This shouldn't make much of a difference except that we'll also get security updates of Python itself from Debian instead of needing to bump the image (which we haven't really been doing).
Status
Ready for review
Description of Changes
Refs https://github.com/freedomofpress/securedrop-docs/issues/567.
Testing
podman build --build-arg GIT_BRANCH=$(git rev-parse HEAD) --file deploy/Dockerfile . -t dev-docs
(ordocker
is fine too), finishes successfullypodman run --rm -p 5080:5080 dev-docs
, visit localhost:5080 in your browser and test basic functionalityRelease
Checklist (Optional)
make docs-lint
) passed locallymake docs-linkcheck
) passedmake docs
) docs at http://localhost:8000