Switch to upper case for PODMAN_BUILD_ARGS
Bash variables are typically upper style, so align with that.
This commit is contained in:
parent
a554ee9a9f
commit
c9f23072ee
@ -16,7 +16,7 @@ BINPKG="${BINPKG:-/var/cache/packages-podman-1}"
|
||||
LOGDIR="${LOGDIR:-$(pwd)/log}"
|
||||
DOCKER_FILE="${DOCKER_FILE:-$(pwd)/Dockerfile}"
|
||||
|
||||
podman_build_args=(
|
||||
PODMAN_BUILD_ARGS=(
|
||||
# Do not leak the host's /etc/host into the container.
|
||||
--no-hosts
|
||||
# Limit the memory to be used.
|
||||
@ -49,7 +49,7 @@ mkdir -p "${BINPKG}"
|
||||
mkdir -p "${LOGDIR}"
|
||||
|
||||
podman pull gentoo/stage3:amd64-nomultilib-systemd
|
||||
podman build "${podman_build_args[@]}"
|
||||
podman build "${PODMAN_BUILD_ARGS[@]}"
|
||||
|
||||
# Update the tag 'latest'.
|
||||
podman tag rm "${REGISTRY}:latest"
|
||||
|
@ -14,7 +14,7 @@ BINPKG="${BINPKG:-/var/cache/packages-podman-1}"
|
||||
LOGDIR="${LOGDIR:-$(pwd)/log}"
|
||||
PACKAGE_USE="${PACKAGE_USE:-$(pwd)/package.use}"
|
||||
|
||||
podman_build_args=(
|
||||
PODMAN_BUILD_ARGS=(
|
||||
# Do not leak the host's /etc/host into the container.
|
||||
--no-hosts
|
||||
# Remove the container after usage.
|
||||
@ -44,7 +44,7 @@ mkdir -p "${DISTFILES}"
|
||||
mkdir -p "${BINPKG}"
|
||||
mkdir -p "${LOGDIR}"
|
||||
|
||||
podman run "${podman_build_args[@]}" "${REGISTRY}:${VERSION}" \
|
||||
podman run "${PODMAN_BUILD_ARGS[@]}" "${REGISTRY}:${VERSION}" \
|
||||
bash -c "emerge --usepkg --newuse --keep-going --oneshot --deep --update @world \
|
||||
&& emerge @golang-rebuild @rust-rebuild \
|
||||
&& eclean-pkg --deep"
|
||||
|
Reference in New Issue
Block a user