Skip to content
Snippets Groups Projects
Verified Commit 6e742dbc authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

base-buster: Pin elasticsearch to avoid 7.10.0 with apt preferences

We chose to exclude the broken version by pinning 7.10.0 to -1 instead of
pinning the currently working 7.9.3 version to 1001. This will make sure we
don't forget to upgrade once the bugfix is published.

Related to T2791
parent 32b720b5
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,9 @@ USER root
RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache
# Pin elasticsearch version
RUN echo 'Explanation: profile: elasticsearch\nPackage: elasticsearch elasticsearch-oss\nPin: version 7.10.0\nPin-Priority: -1' > /etc/apt/preferences.d/elasticsearch.pref
RUN --mount=type=cache,id=apt-cache,target=/var/cache/apt --mount=type=cache,id=apt-lists,target=/var/lib/apt \
export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
......@@ -25,7 +28,7 @@ RUN --mount=type=cache,id=apt-cache,target=/var/cache/apt --mount=type=cache,id=
arcanist \
build-essential \
cassandra \
elasticsearch=7.9.3 \
elasticsearch \
fuse3 \
git-lfs \
jq \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment