Skip to content
/ os Public
forked from openshift/os

Commit

Permalink
extensions: Re-indent Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
travier committed Oct 21, 2024
1 parent f87027e commit 759aa41
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion extensions/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,14 @@ RUN if rpm -q centos-stream-release; then \
ln -s {/etc/pki/rpm-gpg,/usr/share/distribution-gpg-keys/centos}/RPM-GPG-KEY-CentOS-SIG-Virtualization ; \
fi ; \
fi
RUN if [[ -n "${VARIANT}" ]]; then MANIFEST="manifest-${VARIANT}.yaml"; EXTENSIONS="extensions-${VARIANT}.yaml"; else MANIFEST="manifest.yaml"; EXTENSIONS="extensions.yaml"; fi && rpm-ostree compose extensions --rootfs=/ --output-dir=/usr/share/rpm-ostree/extensions/ ./"${MANIFEST}" ./"${EXTENSIONS}"
RUN if [[ -n "${VARIANT}" ]]; then \
MANIFEST="manifest-${VARIANT}.yaml"; \
EXTENSIONS="extensions-${VARIANT}.yaml"; \
else \
MANIFEST="manifest.yaml"; \
EXTENSIONS="extensions.yaml"; \
fi && \
rpm-ostree compose extensions --rootfs=/ --output-dir=/usr/share/rpm-ostree/extensions/ ./"${MANIFEST}" ./"${EXTENSIONS}"

## Creates the repo metadata for the extensions.
## This uses Fedora as a lowest-common-denominator because it will work on
Expand Down

0 comments on commit 759aa41

Please sign in to comment.