Skip to content

Commit

Permalink
Update Docker image version
Browse files Browse the repository at this point in the history
- Bump Alpine Hugo image version to v.101.0

- Fix the error:

```
fatal: detected dubious ownership in repository at '/github/workspace'
To add an exception for this directory, call:

   git config --global --add safe.directory /github/workspace
```
  • Loading branch information
geriom committed Aug 30, 2022
1 parent 1438ce9 commit 6d98771
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM klakegg/hugo:0.95.0-ext-alpine as docsy-user-guide
FROM klakegg/hugo:0.101.0-ext-alpine as docsy-user-guide

RUN apk update
RUN apk add git
COPY package.json /app/docsy/userguide/
WORKDIR /app/docsy/userguide/
RUN npm install --production=false
RUN git config --global --add safe.directory /app/docsy

CMD ["serve", "--cleanDestinationDir", "--themesDir ../..", "--baseURL http://localhost:1313/", "--buildDrafts", "--buildFuture", "--disableFastRender", "--ignoreCache", "--watch"]
CMD ["serve", "--cleanDestinationDir", "--themesDir", "../..", "--baseURL", "http://localhost:1313/", "--buildDrafts", "--buildFuture", "--disableFastRender", "--ignoreCache", "--watch"]
4 changes: 3 additions & 1 deletion userguide/content/en/docs/adding-content/shortcodes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,9 @@ The following section explains how to install the database:
```

This will be rendered as if the instructions were in the parent document:
This is rendered as if the instructions were in the parent document. Hugo
v0.101.0+ is required for imported files containing shortcodes to be rendered
correctly.

---

Expand Down

0 comments on commit 6d98771

Please sign in to comment.