forked from kurrent-io/eventstore-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (18 loc) · 732 Bytes
/
Dockerfile
File metadata and controls
25 lines (18 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM ubuntu:16.04
MAINTAINER Event Store Ltd <ops@eventstore.com>
ENV ES_VERSION=5.0.8-1 \
DEBIAN_FRONTEND=noninteractive \
EVENTSTORE_CLUSTER_GOSSIP_PORT=2112
RUN apt-get update \
&& apt-get install tzdata curl iproute2 -y \
&& curl -s https://packagecloud.io/install/repositories/EventStore/EventStore-OSS/script.deb.sh | bash \
&& apt-get install eventstore-oss=$ES_VERSION -y \
&& apt-get autoremove \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
EXPOSE 1112 2112 1113 2113
VOLUME /var/lib/eventstore
COPY eventstore.conf /etc/eventstore/
COPY entrypoint.sh /
HEALTHCHECK --timeout=2s CMD curl -sf http://localhost:2113/stats || exit 1
ENTRYPOINT ["/entrypoint.sh"]