File tree Expand file tree Collapse file tree 9 files changed +55
-40
lines changed Expand file tree Collapse file tree 9 files changed +55
-40
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,16 @@ RUN set -x \
12
12
&& chmod +x /usr/local/bin/gosu \
13
13
&& gosu nobody true
14
14
15
- # https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
16
15
# https://packages.elasticsearch.org/GPG-KEY-elasticsearch
17
16
RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 46095ACC8548582C1A2699A9D27D666CD88E42B4
18
17
19
- ENV ELASTICSEARCH_VERSION 1.5.2
20
- ENV ELASTICSEARCH_REPO_BASE http://packages.elasticsearch.org/elasticsearch/1.5/debian
18
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
19
+ # https://www.elastic.co/guide/en/elasticsearch/reference/5.0/deb.html
20
+ RUN set -x \
21
+ && apt-get update && apt-get install -y --no-install-recommends apt-transport-https && rm -rf /var/lib/apt/lists/* \
22
+ && echo 'deb http://packages.elasticsearch.org/elasticsearch/1.5/debian stable main' > /etc/apt/sources.list.d/elasticsearch.list
21
23
22
- RUN echo "deb $ELASTICSEARCH_REPO_BASE stable main" > /etc/apt/sources.list.d/elasticsearch.list
24
+ ENV ELASTICSEARCH_VERSION 1.5.2
23
25
24
26
RUN set -x \
25
27
&& apt-get update \
Original file line number Diff line number Diff line change @@ -12,14 +12,16 @@ RUN set -x \
12
12
&& chmod +x /usr/local/bin/gosu \
13
13
&& gosu nobody true
14
14
15
- # https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
16
15
# https://packages.elasticsearch.org/GPG-KEY-elasticsearch
17
16
RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 46095ACC8548582C1A2699A9D27D666CD88E42B4
18
17
19
- ENV ELASTICSEARCH_VERSION 1.6.2
20
- ENV ELASTICSEARCH_REPO_BASE http://packages.elasticsearch.org/elasticsearch/1.6/debian
18
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
19
+ # https://www.elastic.co/guide/en/elasticsearch/reference/5.0/deb.html
20
+ RUN set -x \
21
+ && apt-get update && apt-get install -y --no-install-recommends apt-transport-https && rm -rf /var/lib/apt/lists/* \
22
+ && echo 'deb http://packages.elasticsearch.org/elasticsearch/1.6/debian stable main' > /etc/apt/sources.list.d/elasticsearch.list
21
23
22
- RUN echo "deb $ELASTICSEARCH_REPO_BASE stable main" > /etc/apt/sources.list.d/elasticsearch.list
24
+ ENV ELASTICSEARCH_VERSION 1.6.2
23
25
24
26
RUN set -x \
25
27
&& apt-get update \
Original file line number Diff line number Diff line change @@ -12,14 +12,16 @@ RUN set -x \
12
12
&& chmod +x /usr/local/bin/gosu \
13
13
&& gosu nobody true
14
14
15
- # https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
16
15
# https://packages.elasticsearch.org/GPG-KEY-elasticsearch
17
16
RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 46095ACC8548582C1A2699A9D27D666CD88E42B4
18
17
19
- ENV ELASTICSEARCH_VERSION 1.7.5
20
- ENV ELASTICSEARCH_REPO_BASE http://packages.elasticsearch.org/elasticsearch/1.7/debian
18
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
19
+ # https://www.elastic.co/guide/en/elasticsearch/reference/5.0/deb.html
20
+ RUN set -x \
21
+ && apt-get update && apt-get install -y --no-install-recommends apt-transport-https && rm -rf /var/lib/apt/lists/* \
22
+ && echo 'deb http://packages.elasticsearch.org/elasticsearch/1.7/debian stable main' > /etc/apt/sources.list.d/elasticsearch.list
21
23
22
- RUN echo "deb $ELASTICSEARCH_REPO_BASE stable main" > /etc/apt/sources.list.d/elasticsearch.list
24
+ ENV ELASTICSEARCH_VERSION 1.7.5
23
25
24
26
RUN set -x \
25
27
&& apt-get update \
Original file line number Diff line number Diff line change @@ -12,14 +12,16 @@ RUN set -x \
12
12
&& chmod +x /usr/local/bin/gosu \
13
13
&& gosu nobody true
14
14
15
- # https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
16
15
# https://packages.elasticsearch.org/GPG-KEY-elasticsearch
17
16
RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 46095ACC8548582C1A2699A9D27D666CD88E42B4
18
17
19
- ENV ELASTICSEARCH_VERSION 2.0.2
20
- ENV ELASTICSEARCH_REPO_BASE http://packages.elasticsearch.org/elasticsearch/2.x/debian
18
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
19
+ # https://www.elastic.co/guide/en/elasticsearch/reference/5.0/deb.html
20
+ RUN set -x \
21
+ && apt-get update && apt-get install -y --no-install-recommends apt-transport-https && rm -rf /var/lib/apt/lists/* \
22
+ && echo 'deb http://packages.elasticsearch.org/elasticsearch/2.x/debian stable main' > /etc/apt/sources.list.d/elasticsearch.list
21
23
22
- RUN echo "deb $ELASTICSEARCH_REPO_BASE stable main" > /etc/apt/sources.list.d/elasticsearch.list
24
+ ENV ELASTICSEARCH_VERSION 2.0.2
23
25
24
26
RUN set -x \
25
27
&& apt-get update \
Original file line number Diff line number Diff line change @@ -12,14 +12,16 @@ RUN set -x \
12
12
&& chmod +x /usr/local/bin/gosu \
13
13
&& gosu nobody true
14
14
15
- # https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
16
15
# https://packages.elasticsearch.org/GPG-KEY-elasticsearch
17
16
RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 46095ACC8548582C1A2699A9D27D666CD88E42B4
18
17
19
- ENV ELASTICSEARCH_VERSION 2.1.2
20
- ENV ELASTICSEARCH_REPO_BASE http://packages.elasticsearch.org/elasticsearch/2.x/debian
18
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
19
+ # https://www.elastic.co/guide/en/elasticsearch/reference/5.0/deb.html
20
+ RUN set -x \
21
+ && apt-get update && apt-get install -y --no-install-recommends apt-transport-https && rm -rf /var/lib/apt/lists/* \
22
+ && echo 'deb http://packages.elasticsearch.org/elasticsearch/2.x/debian stable main' > /etc/apt/sources.list.d/elasticsearch.list
21
23
22
- RUN echo "deb $ELASTICSEARCH_REPO_BASE stable main" > /etc/apt/sources.list.d/elasticsearch.list
24
+ ENV ELASTICSEARCH_VERSION 2.1.2
23
25
24
26
RUN set -x \
25
27
&& apt-get update \
Original file line number Diff line number Diff line change @@ -12,14 +12,16 @@ RUN set -x \
12
12
&& chmod +x /usr/local/bin/gosu \
13
13
&& gosu nobody true
14
14
15
- # https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
16
15
# https://packages.elasticsearch.org/GPG-KEY-elasticsearch
17
16
RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 46095ACC8548582C1A2699A9D27D666CD88E42B4
18
17
19
- ENV ELASTICSEARCH_VERSION 2.2.2
20
- ENV ELASTICSEARCH_REPO_BASE http://packages.elasticsearch.org/elasticsearch/2.x/debian
18
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
19
+ # https://www.elastic.co/guide/en/elasticsearch/reference/5.0/deb.html
20
+ RUN set -x \
21
+ && apt-get update && apt-get install -y --no-install-recommends apt-transport-https && rm -rf /var/lib/apt/lists/* \
22
+ && echo 'deb http://packages.elasticsearch.org/elasticsearch/2.x/debian stable main' > /etc/apt/sources.list.d/elasticsearch.list
21
23
22
- RUN echo "deb $ELASTICSEARCH_REPO_BASE stable main" > /etc/apt/sources.list.d/elasticsearch.list
24
+ ENV ELASTICSEARCH_VERSION 2.2.2
23
25
24
26
RUN set -x \
25
27
&& apt-get update \
Original file line number Diff line number Diff line change @@ -12,14 +12,16 @@ RUN set -x \
12
12
&& chmod +x /usr/local/bin/gosu \
13
13
&& gosu nobody true
14
14
15
- # https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
16
15
# https://packages.elasticsearch.org/GPG-KEY-elasticsearch
17
16
RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 46095ACC8548582C1A2699A9D27D666CD88E42B4
18
17
19
- ENV ELASTICSEARCH_VERSION 2.3.5
20
- ENV ELASTICSEARCH_REPO_BASE http://packages.elasticsearch.org/elasticsearch/2.x/debian
18
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
19
+ # https://www.elastic.co/guide/en/elasticsearch/reference/5.0/deb.html
20
+ RUN set -x \
21
+ && apt-get update && apt-get install -y --no-install-recommends apt-transport-https && rm -rf /var/lib/apt/lists/* \
22
+ && echo 'deb http://packages.elasticsearch.org/elasticsearch/2.x/debian stable main' > /etc/apt/sources.list.d/elasticsearch.list
21
23
22
- RUN echo "deb $ELASTICSEARCH_REPO_BASE stable main" > /etc/apt/sources.list.d/elasticsearch.list
24
+ ENV ELASTICSEARCH_VERSION 2.3.5
23
25
24
26
RUN set -x \
25
27
&& apt-get update \
Original file line number Diff line number Diff line change @@ -12,14 +12,16 @@ RUN set -x \
12
12
&& chmod +x /usr/local/bin/gosu \
13
13
&& gosu nobody true
14
14
15
- # https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
16
15
# https://packages.elasticsearch.org/GPG-KEY-elasticsearch
17
16
RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 46095ACC8548582C1A2699A9D27D666CD88E42B4
18
17
19
- ENV ELASTICSEARCH_VERSION 2.4.1
20
- ENV ELASTICSEARCH_REPO_BASE http://packages.elasticsearch.org/elasticsearch/2.x/debian
18
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
19
+ # https://www.elastic.co/guide/en/elasticsearch/reference/5.0/deb.html
20
+ RUN set -x \
21
+ && apt-get update && apt-get install -y --no-install-recommends apt-transport-https && rm -rf /var/lib/apt/lists/* \
22
+ && echo 'deb http://packages.elasticsearch.org/elasticsearch/2.x/debian stable main' > /etc/apt/sources.list.d/elasticsearch.list
21
23
22
- RUN echo "deb $ELASTICSEARCH_REPO_BASE stable main" > /etc/apt/sources.list.d/elasticsearch.list
24
+ ENV ELASTICSEARCH_VERSION 2.4.1
23
25
24
26
RUN set -x \
25
27
&& apt-get update \
Original file line number Diff line number Diff line change @@ -12,17 +12,16 @@ RUN set -x \
12
12
&& chmod +x /usr/local/bin/gosu \
13
13
&& gosu nobody true
14
14
15
+ # https://packages.elasticsearch.org/GPG-KEY-elasticsearch
16
+ RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 46095ACC8548582C1A2699A9D27D666CD88E42B4
17
+
18
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
15
19
# https://www.elastic.co/guide/en/elasticsearch/reference/5.0/deb.html
16
- # https://artifacts.elastic.co/GPG-KEY-elasticsearch
17
- RUN apt-get update \
18
- && apt-get install -y --no-install-recommends apt-transport-https \
19
- && apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 46095ACC8548582C1A2699A9D27D666CD88E42B4 \
20
- && rm -rf /var/lib/apt/lists/*
20
+ RUN set -x \
21
+ && apt-get update && apt-get install -y --no-install-recommends apt-transport-https && rm -rf /var/lib/apt/lists/* \
22
+ && echo 'deb https://artifacts.elastic.co/packages/5.x-prerelease/apt stable main' > /etc/apt/sources.list.d/elasticsearch.list
21
23
22
24
ENV ELASTICSEARCH_VERSION 5.0.0-rc1
23
- ENV ELASTICSEARCH_REPO_BASE https://artifacts.elastic.co/packages/5.x-prerelease/apt
24
-
25
- RUN echo "deb $ELASTICSEARCH_REPO_BASE stable main" > /etc/apt/sources.list.d/elasticsearch.list
26
25
27
26
RUN set -x \
28
27
&& apt-get update \
You can’t perform that action at this time.
0 commit comments