No project description provided
Project description
Nanolayer CLI
nanolayer
helps keep container layers as small as possible.
It does so by automatically deleting any installation leftovers (such as apt-get update lists, ppas, etc)
Installation
pipx install nanolayer
GH Release installation:
Usage:
nanolayer install gh-release cli/cli gh
Example
FROM python:3.10
RUN apt-get -y update && apt-get install -y htop
layer size: 22MB
FROM python:3.10
RUN curl -sfL https://github.com/devcontainers-contrib/nanolayer/releases/download/v0.4.0/nanolayer-x86_64-unknown-linux-gnu.tgz | tar fxvz - -C / && \
chmod 755 /tmp/nanolayer && ls /tmp && \
/nanolayer install apt-get htop && \
rm /nanolayer
Layer size: 1.6MB
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
nanolayer-0.4.44-py3-none-any.whl
(33.7 kB
view hashes)
Close
Hashes for nanolayer-0.4.44-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db04fe02fabb5b52f10a9ca8dcd53c237e875a636fc5192b6a6d3af7ec57cad5 |
|
MD5 | b703027a89976ed2242e77c612ba3146 |
|
BLAKE2b-256 | 0c4538966466e7aeaf4c0ccea9631190ebfb298d9dcd4948ca6f0fdf1bfc92d5 |