Skip to main content

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

Metadata

Release files for nanolayer 0.5.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for nanolayer 0.5.6
File Interpreter ABI Platform Actions
nanolayer-0.5.6-py3-none-any.whl Python 3 none any Details for nanolayer-0.5.6-py3-none-any.whl

Release files / nanolayer-0.5.6-py3-none-any.whl

Download URL nanolayer-0.5.6-py3-none-any.whl
Size 35.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bcdc6c0fc1d2b98bca0bfcc0a1a31d0d21b883a216941aa16428de591bccc187
BLAKE2b-256 checksum
How to use checksums
bd09afc454fbdd95a756fb38bb9e41dc95aaee6754823f7d8b14e372345942e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Security for nanolayer 0.5.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.6 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page