Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Provide Docker Container

未关闭
#86 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
docker, rust

调研方向

首先检查 httpjail 如何构建并以服务器模式启动,并以 release binary 和所请求的 Dockerfile 作为入口点。明确 HTTPS 证书、密钥以及 JavaScript、shell-script 或 line-processor 输入在运行时如何提供。完成的标准是提供有文档说明的容器构建,支持所需的挂载以及 amd64 和 arm64 镜像。

由索引模型根据 Issue 内容生成。

描述

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.
主要语言
Rust
星标
962
派生
28
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

coder/httpjail 的其他 Issue

查看 coder/httpjail 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。