From c9ee1d2f9121fe725eaf7c208e390cc55832e772 Mon Sep 17 00:00:00 2001 From: FredericBallot Date: Tue, 4 Apr 2017 13:56:18 +0000 Subject: [PATCH] change dockerfile to use dpkg, add .dockerignore --- .dockerignore | 3 +++ Dockerfile | 11 +++-------- 2 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000000..2bcd9f5fa3 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +**/* +!docker-entrypoint.sh +!target/*.deb diff --git a/Dockerfile b/Dockerfile index 9488e75ce6..579411d0b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,15 +36,10 @@ RUN set -x \ && chmod +x /usr/local/bin/tini \ && tini -h +ENV KIBANA_VERSION 5.2.2 -# https://www.elastic.co/guide/en/kibana/5.0/deb.html -RUN echo 'deb https://artifacts.elastic.co/packages/5.x/apt stable main' > /etc/apt/sources.list.d/kibana.list - -ENV KIBANA_VERSION 5.2.3 - -COPY ./target/kibana-5.2.3-SNAPSHOT-amd64.deb /opt/ - -RUN dpkg -i /opt/kibana-5.2.3-SNAPSHOT-amd64.deb +COPY target/kibana-5.2.2-amd64.deb /opt/kibana-5.2.2-amd64.deb +RUN dpkg -i /opt/kibana-5.2.2-amd64.deb RUN set -x \ # the default "server.host" is "localhost" in 5+