From 0dd437d343d1285d408870c02b8b5f33587f62ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de> Date: Tue, 11 Jan 2022 18:12:58 +0100 Subject: [PATCH] Use offical image provided by crdoc https://github.com/fybrik/crdoc/pull/108 --- docs/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index bbdc4dee5..52b531129 100644 --- a/docs/README.md +++ b/docs/README.md @@ -36,8 +36,8 @@ We use the [crdoc](https://github.com/fybrik/crdoc) tool to generate the API ref crdoc --resources ../theodolite/crd/ --template api-reference/crds.tmpl --output api-reference/crds.md ``` -With the following command, crdoc is installed and executed in Docker: +With the following command, crdoc is executed in Docker: ```sh -docker run --rm -v "`pwd`/../theodolite/crd/":/crd -v "`pwd`/api-reference":/api-reference golang sh -c "go install fybrik.io/crdoc@latest && crdoc --resources /crd/ --template /api-reference/crds.tmpl --output /api-reference/crds.md" +docker run --rm -v "`pwd`/../theodolite/crd/":/crd -u $UID -v "`pwd`/api-reference":/api-reference ghcr.io/fybrik/crdoc:0.6.0 --resources /crd/ --template /api-reference/crds.tmpl --output /api-reference/crds.md ``` -- GitLab