Sign inSign up

ludeeus/container

By ludeeus

•Updated almost 6 years ago

Custom container images used for stuff.

Image
0

100K+

ludeeus/container repository overview

⁠ludeeus/container

Custom container images used for stuff.

The documentation for the container images can be found here⁠

⁠Container definitions

The container definitions are located under ./instructions/⁠ There are 3 categories of containers here:

CategoryDescription
BaseimagesThese are container bases that are used as a base for other containers, all base images have a s6 variant, all base images have a -base postfix in the name, and all base images are multiarch.
ContainersThese are containers that are ready to be used.
DevelopmentThese are containers that are perfect for development, preferably by using it as a devcontainer⁠.

Examples for devcontainer definitions can be found here⁠

⁠Container instructions

The container instructions are defined using YAML, this is a list of the supported YAML tags that can be used: The tag of the container will be the same as the filename of the instruction file (without the .yaml postfix).

YAML tagOptionalTypeDesctiption
baseFalsestringThis is the base image
descriptionTruestringA short description of the container (used for documentation).
needsTruelist of stringsA list of other tags this container relies on.
envTruemapA key-value map of environment variables.
S6TruebooleanA boolean to set if S6 overlay is added to the container (defaults to false).
alpine-packagesTruelist of stringsA list of alpine packages to add to the container.
debian-packagesTruelist of stringsA list of debian packages to add to the container.
pyhton-packagesTruelist of stringsA list of python packages to add to the container.
runTruelist of stringAdditional "RUN" stepes to add to the container.
entrypointTruelist of stringsThis will be used as the "ENTRYPOINT" in the images.
documentationTruestringAdditional documentation for the container.

If files/more complicated scripts are needed to build the container, these can be added to a tag spesific directory under ./rootfs/⁠.

⁠Custom commands included in all containers

All custom commands are prefixed with container

bash-5.0# container help

  container
    Custom CLI used in this container

  usage:
    container [command]

  where [command] is one of:
    init             This will give you a fresh development environment.
    run              This will run the default action for the container you are using.
    start            This will start Home Assistant on port 9123.
    check            This will run Home Assistant config check.
    set-version      Install a spesific version of Home Assistant.
    upgrade          Upgrade the installed Home Assistant version to the latest dev branch.
    help             Shows this help

⁠General devcontainer documentation

Tag summary

Content type

Image

Digest

Size

12.1 MB

Last updated

almost 6 years ago

docker pull ludeeus/container