gmarcy / docker-alpine-s6

A Docker image containing Alpine with s6 overlay

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-alpine-s6

build-and-push

What is this?

This is a simple repo to create a Docker image with Alpine and s6-overlay.

  • The s6-overlay provides tarballs for the following architectures: aarch64, x86_64

  • The experimental docker buildx plugin can do mutli-arch builds easily. The architectures it creates images for are: arm64 and amd64.

This image downloads the correct tarball for the various architectures that and creates images for the architectures that buildx supports. That's all. I can then refer to ghcr.io/gmarcy/alpine-s6:3.17.3-3.1.4.2 for instance in my Dockerfile to create new images based on this.

In buildx the $TARGETARCH variable contains the architecture while the $TARGETVARIANT contains the variant if any. In the case of ARM I use the $TARGETVARIANT to identify which of arm, armhf, or aarch64 to target.

The version numbers are of format <alpine version>-<s6 version>.

About

A Docker image containing Alpine with s6 overlay

License:MIT License


Languages

Language:Shell 82.5%Language:Dockerfile 17.5%