Skip to content
Snippets Groups Projects
Commit 0dd437d3 authored by Sören Henning's avatar Sören Henning
Browse files

Use offical image provided by crdoc

https://github.com/fybrik/crdoc/pull/108
parent 216e3f0d
No related branches found
No related tags found
No related merge requests found
Pipeline #5913 passed
...@@ -36,8 +36,8 @@ We use the [crdoc](https://github.com/fybrik/crdoc) tool to generate the API ref ...@@ -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 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 ```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
``` ```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment