Skip to content

Commit 8a72873

Browse files
committed
Fix the docker instructions
1 parent a1f5932 commit 8a72873

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.adoc

+8-1
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,16 @@ inside a Docker container like this:
6262

6363
[source]
6464
----
65-
$ docker run --rm -t -v $(pwd):/build/site antora/antora:3.1.10 --fetch /docs/antora-playbook.yml
65+
$ cd docs.rubocop.org
66+
$ docker run -u $(id -u) -v $PWD:/antora:Z --rm -t antora/antora --cache-dir=./.cache/antora antora-playbook.yml
6667
----
6768

69+
Note that despite the message saying `Open file:///antora/build/site/index.html in a browser to view your site.`, you
70+
you should actually look for `build/site/index.html` in the current directory. (that's because we've mounted the
71+
current directory as `/antora` in the container)
72+
73+
TIP: You can read more about running Antora in a container in the https://docs.antora.org/antora/latest/antora-container/[official docs].
74+
6875
== Updating the Playbook
6976

7077
When cutting new releases you'll have to updated `antora-playbook.yml` to mention

0 commit comments

Comments
 (0)