Skip to content

Commit

Permalink
extensions: Re-indent Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
travier committed Aug 28, 2024
1 parent fbd9ab6 commit 642c12c
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 642c12c

Please sign in to comment.