Skip to content

Commit 1f38b96

Browse files
MCLOUD-13766: Fixed docker file to support both platform images - linux/arm64 and linux/amd64
1 parent 1744c7f commit 1f38b96

File tree

6 files changed

+0
-36
lines changed

6 files changed

+0
-36
lines changed

images/opensearch/1.3/Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
FROM opensearchproject/opensearch:1.3.0
22

3-
USER root
4-
RUN yum -y install zip && \
5-
zip -q -d /usr/share/opensearch/lib/log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class && \
6-
yum remove -y zip && \
7-
yum -y clean all && \
8-
rm -rf /var/cache
93
USER opensearch
104

115
RUN bin/opensearch-plugin install -b analysis-icu && \

images/opensearch/2.12/Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
FROM opensearchproject/opensearch:2.12.0
22

3-
USER root
4-
RUN yum -y install zip && \
5-
zip -q -d /usr/share/opensearch/lib/log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class && \
6-
yum remove -y zip && \
7-
yum -y clean all && \
8-
rm -rf /var/cache
93
USER opensearch
104

115
RUN bin/opensearch-plugin install -b analysis-icu && \

images/opensearch/2.3/Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
FROM opensearchproject/opensearch:2.3.0
22

3-
USER root
4-
RUN yum -y install zip && \
5-
zip -q -d /usr/share/opensearch/lib/log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class && \
6-
yum remove -y zip && \
7-
yum -y clean all && \
8-
rm -rf /var/cache
93
USER opensearch
104

115
RUN bin/opensearch-plugin install -b analysis-icu && \

images/opensearch/2.4/Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
FROM opensearchproject/opensearch:2.4.0
22

3-
USER root
4-
RUN yum -y install zip && \
5-
zip -q -d /usr/share/opensearch/lib/log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class && \
6-
yum remove -y zip && \
7-
yum -y clean all && \
8-
rm -rf /var/cache
93
USER opensearch
104

115
RUN bin/opensearch-plugin install -b analysis-icu && \

images/opensearch/2.5/Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
FROM opensearchproject/opensearch:2.5.0
22

3-
USER root
4-
RUN yum -y install zip && \
5-
zip -q -d /usr/share/opensearch/lib/log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class && \
6-
yum remove -y zip && \
7-
yum -y clean all && \
8-
rm -rf /var/cache
93
USER opensearch
104

115
RUN bin/opensearch-plugin install -b analysis-icu && \

images/opensearch/3.0/Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
FROM opensearchproject/opensearch:3.0.0
22

3-
USER root
4-
RUN yum -y install zip && \
5-
zip -q -d /usr/share/opensearch/lib/log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class && \
6-
yum remove -y zip && \
7-
yum -y clean all && \
8-
rm -rf /var/cache
93
USER opensearch
104

115
RUN bin/opensearch-plugin install -b analysis-icu && \

0 commit comments

Comments
 (0)