Blockstream/greenlight

gltestserver needs a diet

Open

#563 创建于 2025年1月16日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Rust (48 fork)github user discovery
P4help wanted

仓库指标

Star
 (142 star)
PR 合并指标
 (PR 指标待抓取)

描述

The recently introduced gl-testserver is run from a docker image that contains all the necessary dependencies, and some more. The image weighs in at over 9GiB, which even developing locally is a bit much. It means that the developer disk is pointlessly being filled, but also that a build and download of the docker image is a lengthy process.

Putting it on a diet to weigh less, and come with fewer optional dependencies is likely a good idea. These are the common threads that we might want to investigate:

  • Rust compilation artifacts should be kept in a builder image, and selectively copied over.

贡献者指南