docs: better inline docs in containerfile
* explaining ARG default values
This commit is contained in:
@@ -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
|
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
|
ARG BASE_IMAGE_URL=ghcr.io/ublue-os/silverblue-main
|
||||||
|
|
||||||
FROM ${BASE_IMAGE_URL}:${FEDORA_MAJOR_VERSION}
|
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
|
ARG RECIPE=./recipe.yml
|
||||||
|
|
||||||
# Copy static configurations and component files.
|
# Copy static configurations and component files.
|
||||||
|
|||||||
Reference in New Issue
Block a user