# Building Libbeat without docker-compose?

**URL:** <https://discuss.elastic.co/t/building-libbeat-without-docker-compose/92865>\
**Category:** Beats\
**Created:** [July 12, 2017, 6:39pm UTC](https://discuss.elastic.co/t/building-libbeat-without-docker-compose/92865 "2017-07-12T18:39:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grigory\_Shamov](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@Grigory\_Shamov](https://discuss.elastic.co/u/Grigory_Shamov)\
**Post date:** [July 12, 2017, 6:39pm UTC](https://discuss.elastic.co/t/building-libbeat-without-docker-compose/92865/1 "2017-07-12T18:39:10Z")

</div>

Hi All,

I have been trying to build elastic/beats from Github on a CentOS 6 host.  
I had to update virtualenv and golang; but then, it looks like make depends on docker-compose to proceed.  
Is it possible to supress it somehow to just build w/o coverage testing ans what not? CentOS 6 does not support Docker well and I believe cannot have docker-compose for that.

Has anyone succeed in building beats on CentOS 6?

Thanks!

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [July 13, 2017, 5:36pm UTC](https://discuss.elastic.co/t/building-libbeat-without-docker-compose/92865/2 "2017-07-13T17:36:59Z")

</div>

You can build and unit test without docker. Try these commands.

```auto
cd beats/filebeat
make update # This generates config files.
go build # This builds the filebeat binary. Running "make" does this.
go test -v ./... # This runs all the unit tests for filebeat. Running "make unit-tests" does this.

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 2, 2017, 6:39pm UTC](https://discuss.elastic.co/t/building-libbeat-without-docker-compose/92865/3 "2017-08-02T18:39:26Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
