Skip to content
/ ducktape Public

Remote tarball unpacker for Docker images

License

Notifications You must be signed in to change notification settings

dock0/ducktape

Repository files navigation

ducktape

GitHub Workflow Status) GitHub release License

Minimal bootstrapping script for downloading and extracting a root tarball

Usage

To bootstrap a system using ducktape, do the following:

  1. Put the ducktape binary on the system
  2. Put a cert file in the same directory as the binary
  3. 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"]

License

ducktape is released under the MIT License. See the bundled LICENSE file for details.