hansel

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2022 License: MIT

README

Hansel

Hansel generates empty linux packages. These packages can be installed to track dependencies manually added to a container image.

You can use hansel in a multistep build:

FROM ghcr.io/Shopify/hansel:latest AS crumbs
RUN hansel --name rando-thing --version v1.2.3 --debian

FROM debian:bullseye
RUN curl -o /usr/bin/rando-thing https://rando.thing/v1.2.3/unsigned-blob-yolo
COPY --from=crumbs /rando-thing*.deb /tmp/rando-thing.deb
RUN dpkg -i /tmp/rando-thing.deb && \
    rm /tmp/rando-thing.deb

The name is inspired by:

Directories

Path Synopsis
cmd
hansel command
internal
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL