bootc-base-images/Containerfile

19 lines
703 B
Docker

# This generates the "standard" base image, deriving from the minimal base.
# This is a local reference by default because we haven't shipped this image yet.
FROM localhost/fedora-bootc:base
# Copy in our configuration and build scripts. Most of the heavy lifting
# is in `stage-install` which we emit into /usr/share/doc so it can be
# used as a reference in other images.
COPY usr/ /usr/
RUN <<EORUN
set -xeuo pipefail
# This script installs our default packages. These scripts
# are not a stable API, but may become one in the future.
/usr/share/doc/bootc-image-standard/stage-install
# Cleanup
/usr/share/doc/bootc-image-standard/stage-clean
# And lint.
bootc container lint --fatal-warnings
EORUN