Provide Docker Container
- Lenguaje dominante
- Rust
- Estrellas
- 961
- Forks
- 28
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Empieza revisando cómo se compila y se inicia httpjail en modo servidor, usando el binario de release y el Dockerfile solicitado como puntos de entrada. Define cómo se proporcionan en tiempo de ejecución los certificados HTTPS, las claves y las entradas de JavaScript, shell-script o line-processor. Se considera terminado cuando hay un build de contenedor documentado que admite los mounts necesarios y las imágenes amd64 y arm64.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- docker, rust
- Área
- devops, infrastructure
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 38/100