docs: better inline docs in containerfile

* explaining ARG default values
This commit is contained in:
ER
2023-05-31 19:25:49 +03:00
committed by EinoHR
parent dd89cb7299
commit 1bf1785f2a

View File

@@ -1,7 +1,18 @@
# This is the Containerfile for your custom image.
# It takes in the recipe, version, and base image as arguments,
# all of which are provided by build.yml when doing builds
# in the cloud. The ARGs have default values, but changing those
# does nothing if the image is built in the cloud.
ARG FEDORA_MAJOR_VERSION=38
# Warning: changing this might not do anything for you. Read comment above.
ARG BASE_IMAGE_URL=ghcr.io/ublue-os/silverblue-main
FROM ${BASE_IMAGE_URL}:${FEDORA_MAJOR_VERSION}
# The default recipe set to the recipe's default filename
# so that `podman build` should just work for many people.
ARG RECIPE=./recipe.yml
# Copy static configurations and component files.