Files
vulhub/base/opentsdb/2.4.0/Dockerfile
Aaron 63285f61aa
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
first commit
2025-09-06 16:08:15 +08:00

32 lines
927 B
Docker

FROM openjdk:8-jdk
LABEL maintainer="phithon <root@leavesongs.com>"
# install hbase
RUN set -ex \
&& mkdir /opt/hbase \
&& wget -qO- https://archive.apache.org/dist/hbase/2.4.5/hbase-2.4.5-bin.tar.gz | tar xz --strip-components 1 -C /opt/hbase
# install opentsdb
RUN set -ex \
&& cd /tmp \
&& wget https://github.com/OpenTSDB/opentsdb/releases/download/v2.4.0/opentsdb-2.4.0_all.deb \
&& dpkg -i opentsdb-2.4.0_all.deb \
&& echo "tsd.core.auto_create_metrics = true" >> /etc/opentsdb/opentsdb.conf \
&& mkdir /usr/share/opentsdb/cache \
&& rm -rf /tmp/opentsdb-2.4.0_all.deb
# install
RUN set -ex \
&& apt-get update \
&& apt-get install -y --no-install-recommends gnuplot-nox \
&& rm -rf /var/lib/apt/lists/*
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN set -ex \
&& chmod +x /docker-entrypoint.sh
WORKDIR /usr/share/opentsdb
ENTRYPOINT ["/docker-entrypoint.sh"]