🐞 Docker image fedora-golang-bosh installs Vault properly

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
```
This commit is contained in:
Brian Cunnie
2025-01-20 06:31:57 -08:00
parent 47dbcd5e28
commit 2e021b8751

View File

@@ -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