mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-12 15:50:15 -08:00
mkdocs: add migration nav
This commit is contained in:
1
docs/mkdocs/migration/binary.md
Normal file
1
docs/mkdocs/migration/binary.md
Normal file
@@ -0,0 +1 @@
|
||||
No need to fix.
|
||||
8
docs/mkdocs/migration/debian_ubuntu.md
Normal file
8
docs/mkdocs/migration/debian_ubuntu.md
Normal file
@@ -0,0 +1,8 @@
|
||||
Use `https://aquasecurity.github.io` instead of `https://knqyf263.github.io`.
|
||||
|
||||
```bash
|
||||
$ apt-get remove --purge trivy
|
||||
$ sed -i s/knqyf263/aquasecurity/g /etc/apt/sources.list.d/trivy.list
|
||||
$ apt-get update
|
||||
$ apt-get install trivy
|
||||
```
|
||||
7
docs/mkdocs/migration/homebrew.md
Normal file
7
docs/mkdocs/migration/homebrew.md
Normal file
@@ -0,0 +1,7 @@
|
||||
Tap aquasecurity/trivy
|
||||
|
||||
```bash
|
||||
$ brew uninstall --force trivy
|
||||
$ brew untap knqyf263/trivy
|
||||
$ brew install aquasecurity/trivy/trivy
|
||||
```
|
||||
12
docs/mkdocs/migration/index.md
Normal file
12
docs/mkdocs/migration/index.md
Normal file
@@ -0,0 +1,12 @@
|
||||
On 19 August 2019, Trivy's repositories moved from `knqyf263/trivy` to `aquasecurity/trivy`. If you previously installed Trivy you should update any scripts or package manager records as described in this section.
|
||||
|
||||
If you have a script that installs Trivy (for example into your CI pipelines) you should update it to obtain it from the new location by replacing knqyf263/trivy with aquasecurity/trivy.
|
||||
|
||||
For example:
|
||||
```bash
|
||||
# Before
|
||||
$ wget https://github.com/knqyf263/trivy/releases/download/v${VERSION}/trivy_${VERSION}_Linux-64bit.tar.gz
|
||||
|
||||
# After
|
||||
$ wget https://github.com/aquasecurity/trivy/releases/download/v${VERSION}/trivy_${VERSION}_Linux-64bit.tar.gz
|
||||
```
|
||||
8
docs/mkdocs/migration/rhel_centos.md
Normal file
8
docs/mkdocs/migration/rhel_centos.md
Normal file
@@ -0,0 +1,8 @@
|
||||
Use `https://aquasecurity.github.io` instead of `https://knqyf263.github.io`.
|
||||
|
||||
```bash
|
||||
$ yum remove trivy
|
||||
$ sed -i s/knqyf263/aquasecurity/g /etc/yum.repos.d/trivy.repo
|
||||
$ yum update
|
||||
$ yum install trivy
|
||||
```
|
||||
Reference in New Issue
Block a user