kibana/docs/developer/getting-started/building-kibana.asciidoc
Jonathan Budzenski c7977614ed
[docs/build] Update build dependencies list (#98545)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-03 17:04:34 -05:00

40 lines
906 B
Plaintext

[[building-kibana]]
== Building a {kib} distributable
The following command will build a {kib} production distributable:
[source,bash]
----
yarn build --skip-os-packages
----
You can get all build options using the following command:
[source,bash]
----
yarn build --help
----
[discrete]
=== Building OS packages
Packages are built using fpm, dpkg, and rpm, and Docker. Package building has only been tested on Linux and is not supported on any other platform.
Docker installation instructions can be found at https://docs.docker.com/engine/install/[Install Docker Engine].
[source,bash]
----
apt-get install ruby ruby-dev rpm dpkg build-essential
gem install fpm -v 1.5.0
yarn build --skip-archives
----
To specify a package to build you can add `rpm` or `deb` as an argument.
[source,bash]
----
yarn build --rpm
----
Distributable packages can be found in `target/` after the build completes.