Provide Docker Container
- 主要语言
- Rust
- 星标
- 961
- 派生
- 28
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先检查 httpjail 如何构建并以服务器模式启动,并以 release binary 和所请求的 Dockerfile 作为入口点。明确 HTTPS 证书、密钥以及 JavaScript、shell-script 或 line-processor 输入在运行时如何提供。完成的标准是提供有文档说明的容器构建,支持所需的挂载以及 amd64 和 arm64 镜像。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- docker, rust
- 领域
- devops, infrastructure
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100