jalvarezit / hellodocker

Single layer docker example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hellodocker

Simple docker image with a single layer, accomplished by using scratch base image which basically allows us to build an image from zero. From the docs:

As of Docker 1.5.0 (specifically, docker/docker#8827), FROM scratch is a no-op in the Dockerfile, and will not create an extra layer in your image (so a previously 2-layer image will be a 1-layer image instead).

There are two available examples:

Also you can check the available seccomp profile generated with oci-seccomp-bpf-hook

About

Single layer docker example


Languages

Language:Assembly 53.3%Language:Makefile 28.7%Language:Dockerfile 18.0%