Crates.io | seavan |
lib.rs | seavan |
version | 0.0.0 |
source | src |
created_at | 2022-12-12 20:27:37.01914 |
updated_at | 2022-12-12 20:27:37.01914 |
description | Wrap files in single container layers for later composition |
homepage | https://github.com/cmeister2/seavan |
repository | https://github.com/cmeister2/seavan |
max_upload_size | |
id | 735192 |
size | 5,808 |
seavan is a crate which wraps files in a container layer for later composition.
At time of writing you can't mount an OCI artifact while building a Docker image, whereas you can do:
# syntax=docker/dockerfile:1.2
FROM someimage
RUN --mount=type=bind target=/mnt/imagemount,from=seavanpkg/myrandomfile:1.2.3 rpm -ivh /mnt/imagemount
using Docker Buildkit to mount image layers at a specific directory, without having to copy those files into the image itself.
"seavan" is apparently another name for a shipping container - seemed like an apt choice!