Skip to content

Commit

Permalink
Fix docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Jotschi committed Apr 28, 2018
1 parent d56afd2 commit 0e40a68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions demo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ RUN mkdir /plugins && chown mesh: /plugins -R && ln -s /plugins /mesh/plugins
ADD https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-$ESVERSION.zip /es.zip

WORKDIR /
RUN apk --update --no-cache add unzip \
&& unzip /es.zip && apk del unzip \
RUN apt-get update && apt-get install -y unzip \
&& unzip /es.zip && apt-get remove -y unzip \
&& apt-get clean \
&& mv elasticsearch* elasticsearch \
&& rm /es.zip \
&& ln -s /elasticsearch /mesh/elasticsearch \
Expand Down
5 changes: 3 additions & 2 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ RUN mkdir /plugins && chown mesh: /plugins -R && ln -s /plugins /mesh/plugins
ADD https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-$ESVERSION.zip /es.zip

WORKDIR /
RUN apk --update --no-cache add unzip \
&& unzip /es.zip && apk del unzip \
RUN apt-get update && apt-get install -y unzip \
&& unzip /es.zip && apt-get remove -y unzip \
&& apt-get clean \
&& mv elasticsearch* elasticsearch \
&& rm /es.zip \
&& ln -s /elasticsearch /mesh/elasticsearch \
Expand Down

0 comments on commit 0e40a68

Please sign in to comment.