mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
disable ubi repos
This commit is contained in:
parent
ac39db18af
commit
61ca52d325
2 changed files with 3 additions and 5 deletions
|
|
@ -21,8 +21,6 @@ VOLUME /build-container-installer/build
|
||||||
VOLUME /build-container-installer/repos
|
VOLUME /build-container-installer/repos
|
||||||
VOLUME /cache
|
VOLUME /cache
|
||||||
|
|
||||||
RUN dnf repolist
|
|
||||||
|
|
||||||
RUN dnf install -y make && make install-deps
|
RUN dnf install -y make && make install-deps
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/bash", "/build-container-installer/entrypoint.sh"]
|
ENTRYPOINT ["/bin/bash", "/build-container-installer/entrypoint.sh"]
|
||||||
|
|
|
||||||
6
Makefile
6
Makefile
|
|
@ -224,11 +224,11 @@ clean:
|
||||||
rm -f $(_BASE_DIR)/*.log || true
|
rm -f $(_BASE_DIR)/*.log || true
|
||||||
|
|
||||||
install-deps:
|
install-deps:
|
||||||
if [ "$(PACKAGE_MANAGER)" =~ apt.* ]; then $(PACKAGE_MANAGER) update; fi
|
if [ "$(PACKAGE_MANAGER)" == "dnf" ]; then disable="--disablerepo='ubi-*'"; fi; \
|
||||||
$(PACKAGE_MANAGER) install -y lorax xorriso skopeo flatpak dbus-daemon ostree coreutils gettext git
|
$(PACKAGE_MANAGER) install -y ${disable} lorax xorriso skopeo flatpak dbus-daemon ostree coreutils gettext git
|
||||||
|
|
||||||
install-test-deps:
|
install-test-deps:
|
||||||
if [ "$(PACKAGE_MANAGER)" =~ apt.* ]; then $(PACKAGE_MANAGER) update; fi
|
if [ "$(PACKAGE_MANAGER)" == "dnf" ]; then disable="--disablerepo='ubi-*'"; fi; \
|
||||||
$(PACKAGE_MANAGER) install -y qemu qemu-utils xorriso unzip qemu-system-x86 netcat socat jq isomd5sum ansible make coreutils squashfs-tools
|
$(PACKAGE_MANAGER) install -y qemu qemu-utils xorriso unzip qemu-system-x86 netcat socat jq isomd5sum ansible make coreutils squashfs-tools
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue