mirror of
https://github.com/deviantony/docker-elk.git
synced 2026-01-02 19:18:05 +01:00
Allows switching between branches of compatible stack versions (e.g. main <-> tls) without having to rebuild the setup image.
16 lines
280 B
Docker
16 lines
280 B
Docker
ARG ELASTIC_VERSION
|
|
|
|
# https://www.docker.elastic.co/
|
|
FROM docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION}
|
|
|
|
USER root
|
|
|
|
RUN set -eux; \
|
|
mkdir /state; \
|
|
chmod 0775 /state; \
|
|
chown elasticsearch:root /state
|
|
|
|
USER elasticsearch:root
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|