... | ... | @@ -45,9 +45,9 @@ git clone https://gitlab.eclipse.org/eclipsefdn/emo-team/eclipsefdn-ort.git |
|
|
git clone https://github.com/oss-review-toolkit/ort.git
|
|
|
```
|
|
|
|
|
|
Now set the ORT repository to the latest tested commit. As of now it is `2d29748d945827a82e62313380af0a6960c1204e`.
|
|
|
Now set the ORT repository to the latest tested commit. As of now it is `cc543c938`.
|
|
|
```
|
|
|
git checkout 2d29748d945827a82e62313380af0a6960c1204e
|
|
|
git checkout cc543c938
|
|
|
```
|
|
|
|
|
|
Edit ORT Dockerfile to change the user ID from 1000 (default) to 1001 (genie.infra):
|
... | ... | @@ -63,18 +63,12 @@ cd /ort/ort |
|
|
bash scripts/docker_build.sh
|
|
|
```
|
|
|
|
|
|
----
|
|
|
|
|
|
OLD, OBSOLETE INSTRUCTIONS -- will be deleted when the new setup is complete.
|
|
|
## Set up Postgres for caching
|
|
|
|
|
|
These are the exact steps committed when installing ORT on the VM.
|
|
|
Follow [instructions](https://github.com/oss-review-toolkit/ort#ort-configuration-file) on the ORT website to set up a Postgres instance. Use the [configuration file](https://gitlab.eclipse.org/eclipsefdn/emo-team/eclipsefdn-ort/-/blob/dev/conf/config.yml) from the repository with the environment variables set in [run_env.txt](https://gitlab.eclipse.org/eclipsefdn/emo-team/eclipsefdn-ort/-/blob/dev/run_env.txt).
|
|
|
|
|
|
## System requirements
|
|
|
----
|
|
|
|
|
|
As root:
|
|
|
```
|
|
|
apt-get install htop openjdk-17-jdk nodejs git python3-virtualenv python3-pip npm
|
|
|
```
|
|
|
|
|
|
Result of `docker run ort requirements`:
|
|
|
|
... | ... | |