Skip to main content

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


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.5.6-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

Details for the file nanolayer-0.5.6-py3-none-any.whl.

File metadata

  • Download URL: nanolayer-0.5.6-py3-none-any.whl
  • Upload date:
  • Size: 35.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for nanolayer-0.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 bcdc6c0fc1d2b98bca0bfcc0a1a31d0d21b883a216941aa16428de591bccc187
MD5 647fa301f0bbc59704640dd5bb65ea4c
BLAKE2b-256 bd09afc454fbdd95a756fb38bb9e41dc95aaee6754823f7d8b14e372345942e7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page