alpine-x86_64-docker/Dockerfile

20 lines
684 B
Docker

#
# 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 . .