Blockstream/greenlight

gltestserver needs a diet

Open

#563 opened on 2025年1月16日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Rust (48 forks)github user discovery
P4help wanted

Repository metrics

Stars
 (142 stars)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド