Skip to content

Commit

Permalink
docs: update linux install guide (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Apr 19, 2020
1 parent 70b0ab7 commit a0e2cc0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions docs/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ module.exports = {
'docs/docs/install.md',
'docs/docs/configure-deploy.md'
]
},
{
replacer: ({content, next}) => content.replace(/(v[0-9a-zA-Z\\.\\-]+)/gi, `${next}`),
files: [
'docs/docs/install.md',
]
}
],
updateConfig: {
Expand Down
6 changes: 3 additions & 3 deletions docs/docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pre-built binaries, Docker Images and support various package managers.
We recommend using Docker to run ORY Oathkeeper:

```shell
$ docker pull oryd/oathkeeper
$ docker pull oryd/oathkeeper:v0.37.1-beta.1
$ docker run --rm -it oryd/oathkeeper help
```

Expand All @@ -27,10 +27,10 @@ $ oathkeeper help

## Linux

On linux, you can use `curl | bash` to fetch the latest stable binary using:
On linux, you can use `bash <(curl ...)` to fetch the latest stable binary using:

```shell
$ curl https://raw.githubusercontent.com/ory/oathkeeper/master/install.sh | bash -s -- -b .
$ bash <(curl https://raw.githubusercontent.com/ory/oathkeeper/master/install.sh) -b . v0.37.1-beta.1
$ ./oathkeeper help
```

Expand Down

0 comments on commit a0e2cc0

Please sign in to comment.