fix(devcontainer): curl terra.repo since dnf5 doesnt support config-manager (#2627)

This commit is contained in:
Alberto García
2024-12-15 04:55:47 +01:00
committed by GitHub
parent db8c9b5738
commit 782462da74
+2 -3
View File
@@ -5,6 +5,5 @@ RUN useradd -m vscode
RUN groupadd mock
RUN usermod -aG mock vscode
RUN echo vscode ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/vscode
RUN dnf -y install git 'dnf-command(config-manager)' mock createrepo_c
RUN dnf config-manager --add-repo='https://raw.githubusercontent.com/terrapkg/subatomic-repos/main/terra.repo'
RUN dnf -y install anda terra-mock-configs
RUN curl -Lo /etc/yum.repos.d/terra.repo https://raw.githubusercontent.com/terrapkg/subatomic-repos/main/terra.repo
RUN dnf -y install git mock createrepo_c anda terra-mock-configs