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
14 lines
528 B
Docker
14 lines
528 B
Docker
FROM openjdk:8u342-jdk
|
|
|
|
LABEL maintainer="phithon <root@leavesongs.com>"
|
|
|
|
RUN set -ex \
|
|
&& mkdir -p /opt/solr \
|
|
&& wget --no-check-certificate -qO- https://archive.apache.org/dist/lucene/solr/7.0.1/solr-7.0.1.tgz | tar xz --strip-components=1 -C /opt/solr
|
|
|
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
|
ENV PATH="$PATH:/opt/solr/bin"
|
|
WORKDIR /opt/solr
|
|
ENTRYPOINT [ "bash", "/docker-entrypoint.sh" ]
|
|
CMD ["solr", "-f", "-force", "-p", "8983", "-a", "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"]
|