kibana/x-pack/plugins/profiling/Makefile
Dario Gieselaar b66cf585ca
[Profiling] Add Profiling application (#140722)
Co-authored-by: Joseph Crail <jbcrail@gmail.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
Co-authored-by: Joseph Crail <joseph.crail@elastic.co>
Co-authored-by: Stephanie Boomsma <stephanieboomsma@optimyze.cloud>
Co-authored-by: inge4pres <fgualazzi@gmail.com>
Co-authored-by: inge4pres <francesco.gualazzi@elastic.co>
Co-authored-by: Francesco Gualazzi <inge4pres@users.noreply.github.com>
Co-authored-by: Tim Rühsen <tim.ruhsen@elastic.co>
Co-authored-by: Tim Rühsen <tim.ruehsen@gmx.de>
2022-09-15 19:24:41 +02:00

24 lines
731 B
Makefile

KIBANA_REPO = $(shell git rev-parse --show-toplevel)
NODE_VERSION = $(shell cat ${KIBANA_REPO}/.node-version)
KIBANA_VERSION ?= latest
NETWORK ?= apm-integration-testing
PORT ?= 5601
DOCKER_IMAGE = kibana-dev:${KIBANA_VERSION}
DOCKER_BUILD_ARGS = --build-arg NODE_VERSION="${NODE_VERSION}" -t ${DOCKER_IMAGE} .
DOCKER_RUN_ARGS = --rm -p ${PORT}:5601 -p 9229-9231:9229-9231/tcp -v ${KIBANA_REPO}:/kibana/src -it ${DOCKER_IMAGE}
.PHONY: build build-nocache run run-networkless
build:
docker build ${DOCKER_BUILD_ARGS}
build-nocache:
docker build --no-cache ${DOCKER_BUILD_ARGS}
run:
docker run --network ${NETWORK} ${DOCKER_RUN_ARGS}
run-networkless:
docker run ${DOCKER_RUN_ARGS}