From 2e021b8751b7b9ea8a959a02355a5fd11b8e6daa Mon Sep 17 00:00:00 2001 From: Brian Cunnie Date: Mon, 20 Jan 2025 06:31:57 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Docker=20image=20fedora-golang-b?= =?UTF-8?q?osh=20installs=20Vault=20properly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Probably should've gotten rid of `vault` CLI because I don't have a Vault instance anymore. Fixes: ``` Unknown argument "--add-repo" for command "config-manager". Add "--help" for more information about the arguments. ``` ``` buildx failed with: ERROR: failed to solve: process "/bin/sh -c dnf install -y dnf-plugins-core; dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo; dnf -y install vault; setcap -r /usr/bin/vault" did not complete successfully: exit code: 1 ``` --- Docker/fedora-golang-bosh/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docker/fedora-golang-bosh/Dockerfile b/Docker/fedora-golang-bosh/Dockerfile index 007bff8..b072e72 100644 --- a/Docker/fedora-golang-bosh/Dockerfile +++ b/Docker/fedora-golang-bosh/Dockerfile @@ -71,7 +71,7 @@ RUN curl -L https://github.com/cloudfoundry/bosh-cli/releases/download/v7.5.2/bo chmod +x /usr/local/bin/bosh RUN dnf install -y dnf-plugins-core; \ - dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo; \ + dnf-3 config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo; \ dnf -y install vault; \ setcap -r /usr/bin/vault