8000 GitHub - jesselang/package
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jesselang/package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

package - Package Management for Container Images

Building container images is simple and easy... until it's not. Providing a consistent set of packages and configurations across multiple distributions or versions of distributions becomes increasingly complex, especially with an eye toward optimizing for image layers.

If you're tired of copy-pasting distro-specific syntax to update or install packages for your container images, then package might be a welcome change.

Supported distributions:

  • Alpine Linux
  • Debian Linux and derivitives using the apt package manager

Usage

ARG BASE_IMAGE
FROM ${BASE_IMAGE}

# Update installed packages
RUN package update

# Install packages
RUN package install bash cowsay
docker build --build-arg BASE_IMAGE=alpine cowsay:alpine
docker build --build-arg BASE_IMAGE=debian cowsay:debian
docker build --build-arg BASE_IMAGE=ubuntu cowsay:ubuntu

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0