awslabs / tough

Rust libraries and tools for using and generating TUF repositories
191 stars 43 forks source link

Add tuftool dockerfile #710

Closed stockholmux closed 7 months ago

stockholmux commented 8 months ago

Issue #, if available:

n/a

Description of changes:

This PR adds a very simple Dockerfile for tuftool

This solves a problem for Bottlerocket users who have been challenged to download all the dependencies for tuftool just to get an image. Additionally, this potentially avoids the need to create a cross compiled binary (see #662)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

stockholmux commented 8 months ago

@webern That's right - users don't want the Rust tool chain in every situation. A binary would be more elegant but it's a lot more work and I'd like to give folks a way to use tuftool ASAP.