Skip to content

Commit 130f386

Browse files
committed
UBI now ships, so we have to uninstall it before installing the locally compiled one.
1 parent 4c18c5c commit 130f386

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
FROM opensearchstaging/opensearch:3.1.0-SNAPSHOT
1+
FROM opensearchstaging/opensearch:3.3.0
22

3-
ARG UBI_VERSION="3.1.0.0-SNAPSHOT"
3+
ARG UBI_VERSION="3.3.0.0-SNAPSHOT"
44

55
COPY ./build/distributions/opensearch-ubi-${UBI_VERSION}.zip /tmp/
66

77
# Required for OTel capabilities.
88
#RUN /usr/share/opensearch/bin/opensearch-plugin install --batch telemetry-otel
99

10-
RUN /usr/share/opensearch/bin/opensearch-plugin install --batch file:/tmp/opensearch-ubi-${UBI_VERSION}.zip
10+
RUN /usr/share/opensearch/bin/opensearch-plugin remove opensearch-ubi
11+
12+
RUN /usr/share/opensearch/bin/opensearch-plugin install --batch file:/tmp/opensearch-ubi-${UBI_VERSION}.zip

0 commit comments

Comments
 (0)