Skip to content

Commit

Permalink
change dockerfile to use dpkg, add .dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericBallot committed Apr 4, 2017
1 parent befd540 commit c9ee1d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**/*
!docker-entrypoint.sh
!target/*.deb
11 changes: 3 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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+
Expand Down

0 comments on commit c9ee1d2

Please sign in to comment.