20 lines
684 B
Docker
Raw Permalink Normal View History

2020-04-29 09:15:00 +02:00
#
# Dockerfile to create an alpinelinux container.
# Copyright (C) 2020 by Nils Freydank <nils+container@holgersson.xyz>,
# published under the terms of the MIT license.
#
# Note: This copyright and license only affects the docker/podman file itself.
# The installed softwarecomponents have their own respective licsenses!
FROM scratch as builder
ENV GLIBC_VERSION="2.31-r0"
ENV ALPINE_VERSION="3.11.6"
ENV ALPINE_ARCH="x86_64"
# Copy the rootfs from outside.
ADD alpine-minirootfs-${ALPINE_VERSION}-${ALPINE_ARCH}.tar.gz /
# Create the actual image without the env/version layers.
FROM scratch
MAINTAINER Nils Freydank "nils+container@holgersson.xyz"
COPY --from=builder . .