dangerzone/container
Alex Pyrgiotis aeeed411a0
container: Run commands asynchronously
Convert the Dangerzone script that in the container to run commands
asynchronously, via the asyncio module.

The main advantage of this approach is that it's fast, easy, and safe to
consume the command's streams, while the command is running in the
background.

Previously, we had implemented an approach that used non-blocking
sockets, but those are easy to get wrong. For instance, timeouts were
not exact, capturing output was brittle.

Fixes #325
2023-02-07 18:52:49 +02:00
..
dangerzone.py container: Run commands asynchronously 2023-02-07 18:52:49 +02:00
Dockerfile container: Reinstate OpenJDK 8 dependency 2023-02-07 18:52:49 +02:00