This repository is used to build the base images for our plugins. On Linux it just adds a general /etc/ssl/certs/ca-certificates.crt
and /etc/mime.types
to an Alpine or a Scratch image depending on the tag. On Windows it targets the Nano Server that corresponds with the version of Windows in use.
Build the Docker images with the following commands:
docker build \
--label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
--file docker/Dockerfile.linux.multiarch \
--tag plugins/base:multiarch .
docker build \
--label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
--file docker/Dockerfile.linux.amd64 \
--tag plugins/base:linux-amd64 .
docker build \
--label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
--file docker/Dockerfile.linux.arm64 \
--tag plugins/base:linux-arm64 .
docker build \
--label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
--file docker/Dockerfile.windows.1809.amd64 \
--tag plugins/base:windows-1809-amd64 .
docker build \
--label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
--file docker/Dockerfile.windows.ltsc2022.amd64 \
--tag plugins/base:windows-ltsc2022-amd64 .