From 22873b3c3f54bf657898e5bb55d6eb71ad574451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20R=C3=BCth?= Date: Wed, 3 Apr 2024 00:59:56 +0300 Subject: [PATCH] docs: Fix docker build instructions fixes #752 --- docs/quick-start-guide.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/quick-start-guide.md b/docs/quick-start-guide.md index ae4fd3ff..0a9899fc 100644 --- a/docs/quick-start-guide.md +++ b/docs/quick-start-guide.md @@ -101,13 +101,13 @@ This method avoids polluting your workstation with the dependencies for the build. Here is an example using Fedora, Podman and Buildah: ```shell -git clone --recursive https://github.com/purpleidea/mgmt/ ~/mgmt/ -cd ~/mgmt/docker -buildah build -f Dockerfile-fedora.build -t mgmt_build -podman run -d -it --name mgmt_build localhost/mgmt_build -podman cp mgmt_build:/src/github.com/purpleidea/mgmt/mgmt /tmp/mgmt -sudo mv /tmp/mgmt /usr/local/bin # be sure this is in your $PATH -sudo chown root:root /usr/local/bin/mgmt +git clone --recursive https://github.com/purpleidea/mgmt/ +cd mgmt +docker build -t mgmt -f docker/Dockerfile . +docker run --rm --entrypoint cat mgmt mgmt > mgmt +chmod +x mgmt +./mgmt --version +# you could now copy the mgmt binary somewhere into your $PATH, e.g., /usr/local/bin/ to make it accessible from anywhere ``` ## Running mgmt