Minimal bootstrapping script for downloading and extracting a root tarball
To bootstrap a system using ducktape, do the following:
- Put the
ducktape
binary on the system - Put a
cert
file in the same directory as the binary - Run
./ducktape https://example.org/root.tar.bz2
It supports uncompressed, gzipped, and bzipped archives.
To use this for a Docker container, start your Dockerfile with the following:
FROM scratch
MAINTAINER {you}
ADD ducktape /ducktape
ADD cert /cert
RUN ["/ducktape", "https://example.org/path/to/root.tar.bz2"]
ducktape is released under the MIT License. See the bundled LICENSE file for details.