Provide Docker Container
- Dominant language
- Rust
- Stars
- 961
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
I would like to deploy httpjail in server mode as a docker container. I did some tests, first with a two stage build (where I failed, but I guess this is due to my lack of knowledge about Rust) and then with a Dockerfile, where I just download the release binary from github.com (this worked).
I would appreciate, if a sane Dockerfile would be shipped with this project or even better, if a Docker container would be made available from some OCI registry.
Some things to be considered:
* In order to make httpjail work for https, either the certificate and the key needs to be provided to the docker container at runtime or there needs to be a volume or bind-mount, where the automatically generated certificate can be taken from for use with the clients.
* Similarly, the js-file, shell-script or the line-processor needs to be passed to httpjail, e.g. through volume or bind-mount.
* I used `debian:13-slim`, but it might be possible to use an even smaller image.
* Make it multi arch, I am in particular interested in amd64 and arm64.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing how httpjail is built and launched in server mode, using the release binary and the requested Dockerfile as the entry points. Define how HTTPS certificates, keys, and the JavaScript, shell-script, or line-processor inputs are provided at runtime. Done means a documented container build that supports the required mounts and amd64 and arm64 images.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, rust
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100