Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 87342f9

Browse filesBrowse files
committed
Dockerfile & README.md for elasticsearch
1 parent 64c7808 commit 87342f9
Copy full SHA for 87342f9

File tree

Expand file treeCollapse file tree

2 files changed

+30
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+30
-0
lines changed

‎elasticsearch/Dockerfile

Copy file name to clipboard
+17Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM ubuntu:14.04
2+
3+
ENV UPDATED_AT 2014-11-17
4+
5+
RUN apt-get update
6+
7+
RUN apt-get install -y \
8+
openjdk-6-jre \
9+
wget
10+
11+
RUN wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.7.deb \
12+
&& dpkg -i elasticsearch-0.90.7.deb \
13+
&& rm elasticsearch-0.90.7.deb
14+
15+
EXPOSE 9200
16+
17+
CMD /usr/share/elasticsearch/bin/elasticsearch -f -Des.http.port=9200 -Des.cluster.name=testing

‎elasticsearch/README.md

Copy file name to clipboard
+13Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
You can build a docker image with command:
3+
4+
docker build --tag elasticsearch .
5+
6+
And then run it:
7+
8+
docker run --publish 9200:9200 elasticsearch
9+
10+
Then you can test that elasticsearch is working with the command (it takes
11+
about 10 seconds after `docker run` command):
12+
13+
curl 127.0.0.1:49153

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.