File tree Expand file tree Collapse file tree 9 files changed +46
-1
lines changed Expand file tree Collapse file tree 9 files changed +46
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ RUN set -x \
24
24
ENV ELASTICSEARCH_VERSION 1.6.2
25
25
26
26
RUN set -x \
27
+ \
28
+ # don't allow the package to install its sysctl file (causes the install to fail)
29
+ # Failed to write '262144' to '/proc/sys/vm/max_map_count': Read-only file system
30
+ && dpkg-divert --rename /usr/lib/sysctl.d/elasticsearch.conf \
31
+ \
27
32
&& apt-get update \
28
33
&& apt-get install -y --no-install-recommends elasticsearch=$ELASTICSEARCH_VERSION \
29
34
&& rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ RUN set -x \
24
24
ENV ELASTICSEARCH_VERSION 1.7.6
25
25
26
26
RUN set -x \
27
+ \
28
+ # don't allow the package to install its sysctl file (causes the install to fail)
29
+ # Failed to write '262144' to '/proc/sys/vm/max_map_count': Read-only file system
30
+ && dpkg-divert --rename /usr/lib/sysctl.d/elasticsearch.conf \
31
+ \
27
32
&& apt-get update \
28
33
&& apt-get install -y --no-install-recommends elasticsearch=$ELASTICSEARCH_VERSION \
29
34
&& rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ RUN set -x \
24
24
ENV ELASTICSEARCH_VERSION 2.0.2
25
25
26
26
RUN set -x \
27
+ \
28
+ # don't allow the package to install its sysctl file (causes the install to fail)
29
+ # Failed to write '262144' to '/proc/sys/vm/max_map_count': Read-only file system
30
+ && dpkg-divert --rename /usr/lib/sysctl.d/elasticsearch.conf \
31
+ \
27
32
&& apt-get update \
28
33
&& apt-get install -y --no-install-recommends elasticsearch=$ELASTICSEARCH_VERSION \
29
34
&& rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ RUN set -x \
24
24
ENV ELASTICSEARCH_VERSION 2.1.2
25
25
26
26
RUN set -x \
27
+ \
28
+ # don't allow the package to install its sysctl file (causes the install to fail)
29
+ # Failed to write '262144' to '/proc/sys/vm/max_map_count': Read-only file system
30
+ && dpkg-divert --rename /usr/lib/sysctl.d/elasticsearch.conf \
31
+ \
27
32
&& apt-get update \
28
33
&& apt-get install -y --no-install-recommends elasticsearch=$ELASTICSEARCH_VERSION \
29
34
&& rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ RUN set -x \
24
24
ENV ELASTICSEARCH_VERSION 2.2.2
25
25
26
26
RUN set -x \
27
+ \
28
+ # don't allow the package to install its sysctl file (causes the install to fail)
29
+ # Failed to write '262144' to '/proc/sys/vm/max_map_count': Read-only file system
30
+ && dpkg-divert --rename /usr/lib/sysctl.d/elasticsearch.conf \
31
+ \
27
32
&& apt-get update \
28
33
&& apt-get install -y --no-install-recommends elasticsearch=$ELASTICSEARCH_VERSION \
29
34
&& rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ RUN set -x \
24
24
ENV ELASTICSEARCH_VERSION 2.3.5
25
25
26
26
RUN set -x \
27
+ \
28
+ # don't allow the package to install its sysctl file (causes the install to fail)
29
+ # Failed to write '262144' to '/proc/sys/vm/max_map_count': Read-only file system
30
+ && dpkg-divert --rename /usr/lib/sysctl.d/elasticsearch.conf \
31
+ \
27
32
&& apt-get update \
28
33
&& apt-get install -y --no-install-recommends elasticsearch=$ELASTICSEARCH_VERSION \
29
34
&& rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ RUN set -x \
24
24
ENV ELASTICSEARCH_VERSION 2.4.2
25
25
26
26
RUN set -x \
27
+ \
28
+ # don't allow the package to install its sysctl file (causes the install to fail)
29
+ # Failed to write '262144' to '/proc/sys/vm/max_map_count': Read-only file system
30
+ && dpkg-divert --rename /usr/lib/sysctl.d/elasticsearch.conf \
31
+ \
27
32
&& apt-get update \
28
33
&& apt-get install -y --no-install-recommends elasticsearch=$ELASTICSEARCH_VERSION \
29
34
&& rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -21,9 +21,14 @@ RUN set -x \
21
21
&& apt-get update && apt-get install -y --no-install-recommends apt-transport-https && rm -rf /var/lib/apt/lists/* \
22
22
&& echo 'deb https://artifacts.elastic.co/packages/5.x/apt stable main' > /etc/apt/sources.list.d/elasticsearch.list
23
23
24
- ENV ELASTICSEARCH_VERSION 5.0.1
24
+ ENV ELASTICSEARCH_VERSION 5.0.2
25
25
26
26
RUN set -x \
27
+ \
28
+ # don't allow the package to install its sysctl file (causes the install to fail)
29
+ # Failed to write '262144' to '/proc/sys/vm/max_map_count': Read-only file system
30
+ && dpkg-divert --rename /usr/lib/sysctl.d/elasticsearch.conf \
31
+ \
27
32
&& apt-get update \
28
33
&& apt-get install -y --no-install-recommends elasticsearch=$ELASTICSEARCH_VERSION \
29
34
&& rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ RUN set -x \
24
24
ENV ELASTICSEARCH_VERSION %%ELASTICSEARCH_VERSION%%
25
25
26
26
RUN set -x \
27
+ \
28
+ # don't allow the package to install its sysctl file (causes the install to fail)
29
+ # Failed to write '262144' to '/proc/sys/vm/max_map_count': Read-only file system
30
+ && dpkg-divert --rename /usr/lib/sysctl.d/elasticsearch.conf \
31
+ \
27
32
&& apt-get update \
28
33
&& apt-get install -y --no-install-recommends elasticsearch=$ELASTICSEARCH_VERSION \
29
34
&& rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments