Skip to content

missing build for distoless, scratch and alpine images #596

@robinlioret

Description

@robinlioret

We are trying to build a minimal container image of the router. The currently released binaries are not usable in a minimalistic image (distroless, alpine or scratch)

For now, we are using a simple hack to build the statically linked binary:

docker run -v "$PWD:/volume" --rm -t clux/muslrust:stable bash -c "rustup target add x86_64-unknown-linux-musl && cargo build --release"

It would be great to have official lightweight binary and image.

If this is something wanted, I'm willing to work on the pipeline.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions