mirror of
https://gitlab.com/fedora/bootc/base-images.git
synced 2026-08-31 21:40:44 +00:00
- Move everything related to base/ into that directory, including Containerfile - Introduce `bootc-base-image-rebuild-self` that can be used to resynthesize the base image, and it has docs. - Rework the standard image to put its build instructions in usr/share/doc/bootc-image-standard to serve as a reference Signed-off-by: Colin Walters <walters@verbum.org>
18 lines
686 B
Docker
18 lines
686 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
|
|
EORUN
|