File tree Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,7 @@ ENV ES_PATH_CONF=/etc/elasticsearch/ \
22
22
RECOVER_AFTER_TIME=5m \
23
23
DHE_TMP_KEY_SIZE=2048 \
24
24
RELEASE_STREAM=origin
25
-
26
25
ARG MAVEN_REPO_URL=https://repo1.maven.org/maven2/
27
-
28
26
RUN yum install -y --nogpgcheck \
29
27
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \
30
28
packages="java-${JAVA_VER}-openjdk-headless \
@@ -39,7 +37,9 @@ RUN yum install -y --nogpgcheck \
39
37
yum clean all
40
38
41
39
ADD extra-jvm.options ci-env.sh install-es.sh /var/tmp
40
+ ENV ES_ARCHIVE_URL=https://github.com/openshift/origin-aggregated-logging/releases/download/elasticsearch-oss-6.8.1.redhat-00006/elasticsearch-oss-6.8.1.redhat-00006.zip
42
41
42
+ RUN if [ ! -f "/usr/bin/python" ]; then ln -s /usr/bin/python3 /usr/bin/python ; fi
43
43
RUN /var/tmp/install-es.sh
44
44
45
45
ADD sgconfig/ ${HOME}/sgconfig/
@@ -51,7 +51,7 @@ ADD init.sh run.sh prep-install* ci-env.sh install.sh lib/tattletale/* ${HOME}/
51
51
COPY utils/** /usr/local/bin/
52
52
53
53
ARG PROMETHEUS_EXPORTER_URL=https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/6.8.1.0/prometheus-exporter-6.8.1.0.zip
54
- ARG OPENDISTRO_URL=https://github.com/jcantrill/security /releases/download/v0 .10.1.0 /opendistro_security-0.10.1.0 .zip
54
+ ARG OPENDISTRO_URL=https://github.com/openshift/origin-aggregated-logging /releases/download/opendistro_security-0 .10.0.4-redhat-00001 /opendistro_security-0.10.0.4-redhat-00001 .zip
55
55
56
56
RUN ${HOME}/install.sh
57
57
Original file line number Diff line number Diff line change 8
8
9
9
ENV ES_PATH_CONF=/etc/elasticsearch/ \
10
10
ES_HOME=/usr/share/elasticsearch \
11
- ES_VER=6.8.1.redhat-6 \
11
+ ES_VER=6.8.1.redhat-00006 \
12
12
HOME=/opt/app-root/src \
13
13
INSTANCE_RAM=512G \
14
14
JAVA_VER=11 \
15
15
JAVA_HOME=/usr/lib/jvm/jre \
16
16
NODE_QUORUM=1 \
17
17
PROMETHEUS_EXPORTER_VER=6.8.1.0-redhat-1 \
18
- OPENDISTRO_VER=0.10.1.0 -redhat-1 \
18
+ OPENDISTRO_VER=0.10.0.4 -redhat-00001 \
19
19
PLUGIN_LOGLEVEL=INFO \
20
20
RECOVER_AFTER_NODES=1 \
21
21
RECOVER_EXPECTED_NODES=1 \
Original file line number Diff line number Diff line change 1
- - nvr : org.elasticsearch-parent -6.8.1.redhat_6 -1
1
+ - nvr : org.elasticsearch-elasticsearch -6.8.1.redhat_00006 -1
2
2
- nvr : org.elasticsearch.plugin.prometheus-elasticsearch-prometheus-exporter-6.8.1.0_redhat_1-2
3
- - nvr : com.amazon.opendistroforelasticsearch-opendistro_security-0.10.1.0_redhat_1 -1
3
+ - nvr : com.amazon.opendistroforelasticsearch-opendistro_security-0.10.0.4_redhat_00001 -1
4
4
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ source $(dirname "$0")/ci-env.sh
9
9
# put files in correct places in image
10
10
# fix up directory permissions and ownership
11
11
cd /var/tmp
12
- curl -v -s -o es.zip ${MAVEN_REPO_URL} org/elasticsearch/distribution/zip/elasticsearch-oss/${ES_VER} /elasticsearch-oss-${ES_VER} .zip
12
+ ES_ARCHIVE_URL=${ES_ARCHIVE_URL:- ${MAVEN_REPO_URL} org/ elasticsearch/ distribution/ zip/ elasticsearch-oss/ ${ES_VER} / elasticsearch-oss-${ES_VER} .zip}
13
+ curl -L -v -s -o es.zip ${ES_ARCHIVE_URL}
13
14
unzip es.zip
14
15
pushd elasticsearch-${ES_VER}
15
16
mkdir -p ${ES_HOME} /bin
@@ -43,4 +44,4 @@ chmod u+rwx,g+rwx ${ES_HOME}/logs
43
44
mkdir -p /var/run/elasticsearch
44
45
chmod u+rwx,g+rwx /var/run/elasticsearch
45
46
mkdir /elasticsearch && chmod og+w /elasticsearch
46
- rm -rf elasticsearch-${ES_VER} es.zip extra-jvm.options
47
+ rm -rf elasticsearch-${ES_VER} es.zip extra-jvm.options
You can’t perform that action at this time.
0 commit comments