Skip to content

Commit

Permalink
Add Enhanced Table plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
rwunderer committed Jul 8, 2024
1 parent c7cd5ca commit 4148864
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ USER 1000

WORKDIR /usr/share/dashboards

ARG ENHANCED_TABLE_VER

RUN enhanced_table_url="/~https://github.com/fbaligand/kibana-enhanced-table/releases/download/v${ENHANCED_TABLE_VER}/enhanced-table-${ENHANCED_TABLE_VER}_osd-${DASHBOARDS_VER}.zip"; \
echo $enhanced_table_url; \
bin/opensearch-dashboards-plugin install "$enhanced_table_url"

COPY templates /etc/gotpl

EXPOSE 5601
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
DASHBOARDS_VER ?= 2.15.0
DASHBOARDS_VER_MINOR=$(shell echo "${DASHBOARDS_VER}" | grep -oE '^[0-9]+\.[0-9]+')

ENHANCED_TABLE_VER ?= 1.14.0

NODEJS_VER ?= $(shell wget -qO- "https://raw.githubusercontent.com/opensearch-project/opensearch-dashboards/$(DASHBOARDS_VER)/.node-version")

TAG ?= $(DASHBOARDS_VER_MINOR)
Expand All @@ -28,6 +30,7 @@ build:
docker build -t $(REPO):$(TAG) \
--build-arg NODEJS_VER=$(NODEJS_VER) \
--build-arg DASHBOARDS_VER=$(DASHBOARDS_VER) \
--build-arg ENHANCED_TABLE_VER=$(ENHANCED_TABLE_VER) \
./

test:
Expand Down

0 comments on commit 4148864

Please sign in to comment.