项目作者: rakheshster

项目描述 :
A Docker image containing Alpine with s6 overlay
高级语言: Shell
项目地址: git://github.com/rakheshster/docker-alpine-s6.git
创建时间: 2020-08-23T00:25:47Z
项目社区:https://github.com/rakheshster/docker-alpine-s6

开源协议:MIT License

下载


docker-alpine-s6

Build & Push to DockerHub

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: amd64, x86, aarch64, arm, and armhf.

  • The experimental docker buildx plugin can do mutli-arch builds easily. The architectures it creates images for are: arm, arm64, arm/v7, arm/v6, arm/v8, 386, 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 rakheshster/alpine-s6:3.12-2.0.0.1 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>.

DockerHub repo