Skip to content

kran0/tinyimages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

237 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Make container images even smaller!

Simple scripts to create very light images usefull for base-images and one-tool-images.

Please watch usage-example.sh.

Add tiny images to busybox or another image

Single tool as a single layer:

FROM docker.io/kran0/tiny:curl as tiny
FROM docker.io/busybox:latest
COPY --from=tiny / /

Multiple tools as many layers:

FROM docker.io/kran0/tiny:curl as curl
FROM docker.io/kran0/tiny:sed as sed

FROM docker.io/busybox:latest
COPY --from=curl / /
COPY --from=sed / /

Multiple tools as a single layer

FROM docker.io/kran0/tiny:curl as curl
FROM docker.io/kran0/tiny:sed as sed
FROM scratch as tiny
COPY --from=curl / /
COPY --from=sed / /

FROM docker.io/busybox:latest
COPY --from=tiny / /

Automated builds

Builds

Feel free add more tools by asking me or sending PR's

Repository:Tag Description
docker.io/kran0/tiny:curl Transfer data specified with URL
docker.io/kran0/tiny:grep GNU Grep
docker.io/kran0/tiny:jq JSON processor
docker.io/kran0/tiny:openjdk{8,11,17}-jre All openjdk versions are experimental, please use official ones
docker.io/kran0/tiny:perl Perl
docker.io/kran0/tiny:sed GNU Sed
docker.io/kran0/tiny:socat Multipurpose relay
docker.io/kran0/tiny:svn Subversion version control client
docker.io/kran0/tiny:tor The Onion Router
docker.io/kran0/tiny:xmlstarlet Utilities for XML

About

Make base docker images smaller!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages