Skip to content

Commit 2f1c10f

Browse files
committed
chore: update the agent build instructions
1 parent 294cdeb commit 2f1c10f

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ The [How-to Guide](/docs/how-to.md) describes how to configure the App Agent in
3030
To build Sematext App Agent you need:
3131

3232
1) Linux based Operating System
33-
2) Java 1.6+
33+
2) Java 1.6 - 1.8
3434
3) Maven
3535
4) Thrift compiler v0.12.0
3636
* Steps to install Thrift in Debian based systems
3737
```bash
3838
sudo apt-get install automake bison flex g++ git libboost-all-dev libevent-dev libssl-dev libtool make pkg-config
39-
wget http://www.us.apache.org/dist/thrift/0.12.0/thrift-0.12.0.tar.gz
40-
tar xfz thrift-0.12.0.tar.gz
41-
cd thrift-0.12.0 && ./configure --enable-libs=no && sudo make install
39+
wget https://dlcdn.apache.org/thrift/0.18.1/thrift-0.18.1.tar.gz
40+
tar xfz thrift-0.18.1.tar.gz
41+
cd thrift-0.18.1 && ./configure --enable-libs=no && sudo make install
4242
```
4343
5) fpm package manager
44-
* For steps to install fpm refer [https://fpm.readthedocs.io/en/latest/installing.html](https://fpm.readthedocs.io/en/latest/installing.html)
44+
* For steps to install fpm refer [https://fpm.readthedocs.io/en/v1.15.1/installation.html#installing-fpm](https://fpm.readthedocs.io/en/v1.15.1/installation.html#installing-fpm)
4545

4646
After cloning the repo, executing `build.sh` will build the packages for multiple Linux distributions.
4747

@@ -53,6 +53,10 @@ Docker image building for Sematext App Agent is triggered by Maven target:
5353
$ sudo mvn clean install dockerfile:build
5454
```
5555

56+
#### Troubleshooting
57+
58+
when building the image, if `software-properties-common` package fails, could be because the Docker installation is `snap` instead of `apt` version. To install the `apt` version, follow [this](https://docs.docker.com/engine/install/ubuntu/) to install the correct one.
59+
5660
If Docker daemon is listening on TCP socket, you can set `DOCKER_HOST` environment variable and start
5761
the build with regular user:
5862

0 commit comments

Comments
 (0)