... | ... | @@ -16,6 +16,20 @@ Filesystem Type Size Used Avail Use% Mounted on |
|
|
/dev/sde1 ext4 63G 223M 60G 1% /ort
|
|
|
```
|
|
|
|
|
|
## Docker
|
|
|
|
|
|
Install docker-ce and docker-compose, following instructions on [docker's website](https://docs.docker.com/engine/install/debian/#install-using-the-repository).
|
|
|
|
|
|
Enable BuildKit by default for Docker by creating a file `/etc/docker/daemon.json` with content:
|
|
|
```
|
|
|
{
|
|
|
"features": {
|
|
|
"buildkit" : true
|
|
|
}
|
|
|
}
|
|
|
```
|
|
|
Restart Docker (`systemctl restart docker`).
|
|
|
|
|
|
## ORT & the Eclipse setup
|
|
|
|
|
|
We clone the required repositories in `/ort`.
|
... | ... | @@ -26,6 +40,7 @@ mkdir /ort |
|
|
chown root:users /ort
|
|
|
chmod 775 /ort
|
|
|
```
|
|
|
|
|
|
As genie.infra:
|
|
|
```
|
|
|
cd /ort
|
... | ... | @@ -33,23 +48,16 @@ git clone https://gitlab.eclipse.org/eclipsefdn/emo-team/eclipsefdn-ort.git |
|
|
git clone https://github.com/oss-review-toolkit/ort.git
|
|
|
```
|
|
|
|
|
|
|
|
|
## Docker
|
|
|
|
|
|
Install docker-ce and docker-compose, following instructions on [docker's website](https://docs.docker.com/engine/install/debian/#install-using-the-repository).
|
|
|
|
|
|
Enable BuildKit by default for Docker by creating a file `/etc/docker/daemon.json` with content:
|
|
|
Now set the ORT repository to the latest tested commit. As of now it is `2d29748d945827a82e62313380af0a6960c1204e`.
|
|
|
```
|
|
|
{
|
|
|
"features": {
|
|
|
"buildkit" : true
|
|
|
}
|
|
|
}
|
|
|
git checkout 2d29748d945827a82e62313380af0a6960c1204e
|
|
|
```
|
|
|
|
|
|
Restart Docker (`systemctl restart docker`).
|
|
|
|
|
|
|
|
|
Build the docker image (it will take some time):
|
|
|
```
|
|
|
cd /ort/ort
|
|
|
bash scripts/docker_build.sh
|
|
|
```
|
|
|
|
|
|
----
|
|
|
|
... | ... | |