summaryrefslogtreecommitdiffstats
path: root/arch/DockerBuildEnvironment/README.md
blob: 325616f3dd7dbd6b815745d3a9a3912969744f58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Trinity Build Environment Docker Image

## How to build
All you need to do is run 
```
docker build
```

in this directory and it will create an image for building Trinity with.

## Using the docker image
Here is an example way to run docker for building trinity
```
docker run -it --rm -v `pwd`:/tmp/src <finalimageid>
```

Once running just run
```
su - dev
```
To enter a non-root user

This will mount your source directory in /tmp/src where you can run ./build.