DOC: Update for building

* Makes building instructions for Ubuntu copy-paste'able
* Updates dependency list
This commit is contained in:
Henry Case 2018-05-24 10:18:27 +01:00 committed by Henry Dorsett Case
부모 160c4f5eab
커밋 c20de2f694

파일 보기

@ -44,12 +44,14 @@ pip install setuptools
pip install docker pip install docker
``` ```
* In Ubuntu (>=18.04), you'll also need to `apt install docker.io`. If docker * Ubuntu (18.04) :
tells you don't have permission to access the daemon, try adding yourself to ```
the `docker` group via: apt-get update
``` apt-get install build-essential docker docker.io golang patch python python-pip rsync sudo
sudo usermod -a -G docker $USER pip install setuptools
``` pip install docker
sudo usermod -a -G docker $USER
```
Similar dependencies can be found on any UNIX based system/distribution. Similar dependencies can be found on any UNIX based system/distribution.
@ -58,7 +60,8 @@ Similar dependencies can be found on any UNIX based system/distribution.
There are number of things that need to be setup before running tests. Most important step is to copy ``go env GOROOT`` directory to ``_dev`` and swap TLS implementation and recompile GO. Then for testing we use go implementation from ``_dev/GOROOT``. There are number of things that need to be setup before running tests. Most important step is to copy ``go env GOROOT`` directory to ``_dev`` and swap TLS implementation and recompile GO. Then for testing we use go implementation from ``_dev/GOROOT``.
``` ```
make -f _dev/Makefile build-all git clone https://github.com/cloudflare/tls-tris.git
cd tls-tris; make -f _dev/Makefile build-all
``` ```
### Testing ### Testing