style: seperate firefox removal and rpms

This commit is contained in:
ER
2023-03-04 16:36:11 +02:00
parent 66d22650f0
commit 1af2eaf11e

View File

@@ -10,8 +10,9 @@ COPY recipe.yml /etc/ublue-recipe.yml
COPY --from=docker.io/mikefarah/yq /usr/bin/yq /usr/bin/yq
RUN rpm-ostree override remove firefox firefox-langpacks && \
echo "-- Installing RPMs defined in recipe.yml --" && \
RUN rpm-ostree override remove firefox firefox-langpacks
RUN echo "-- Installing RPMs defined in recipe.yml --" && \
rpm_packages=$(yq '.rpms[]' < /etc/ublue-recipe.yml) && \
for pkg in $rpm_packages; do \
echo "Installing: ${pkg}" && \