first commit
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
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
This commit is contained in:
19
base/elasticsearch/1.1.1/Dockerfile
Normal file
19
base/elasticsearch/1.1.1/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM openjdk:8-jre
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
COPY logging.yml ./config/logging.yml
|
||||
COPY docker-entrypoint.sh /
|
||||
|
||||
RUN set -ex \
|
||||
&& mkdir -p /usr/share/elasticsearch \
|
||||
&& wget -qO- https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.1.1.tar.gz | tar zx \
|
||||
--strip-components 1 -C /usr/share/elasticsearch \
|
||||
&& chmod +x /docker-entrypoint.sh
|
||||
|
||||
ENV PATH /usr/share/elasticsearch/bin:$PATH
|
||||
WORKDIR /usr/share/elasticsearch
|
||||
EXPOSE 9200 9300
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["elasticsearch"]
|
13
base/elasticsearch/1.1.1/docker-entrypoint.sh
Normal file
13
base/elasticsearch/1.1.1/docker-entrypoint.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# Add elasticsearch as command if needed
|
||||
if [ "${1:0:1}" = '-' ]; then
|
||||
set -- elasticsearch "$@"
|
||||
fi
|
||||
|
||||
# As argument is not related to elasticsearch,
|
||||
# then assume that user wants to run his own process,
|
||||
# for example a `bash` shell to explore this image
|
||||
exec "$@"
|
15
base/elasticsearch/1.1.1/logging.yml
Normal file
15
base/elasticsearch/1.1.1/logging.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
# you can override this using by setting a system property, for example -Des.logger.level=DEBUG
|
||||
es.logger.level: INFO
|
||||
rootLogger: ${es.logger.level}, console
|
||||
logger:
|
||||
# log action execution errors for easier debugging
|
||||
action: DEBUG
|
||||
# reduce the logging for aws, too much is logged under the default INFO
|
||||
com.amazonaws: WARN
|
||||
|
||||
appender:
|
||||
console:
|
||||
type: console
|
||||
layout:
|
||||
type: consolePattern
|
||||
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
|
19
base/elasticsearch/1.4.2/Dockerfile
Normal file
19
base/elasticsearch/1.4.2/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM openjdk:8-jre
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
COPY logging.yml ./config/logging.yml
|
||||
COPY docker-entrypoint.sh /
|
||||
|
||||
RUN set -ex \
|
||||
&& mkdir -p /usr/share/elasticsearch \
|
||||
&& wget -qO- https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.4.2.tar.gz | tar zx \
|
||||
--strip-components 1 -C /usr/share/elasticsearch \
|
||||
&& chmod +x /docker-entrypoint.sh
|
||||
|
||||
ENV PATH /usr/share/elasticsearch/bin:$PATH
|
||||
WORKDIR /usr/share/elasticsearch
|
||||
EXPOSE 9200 9300
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["elasticsearch"]
|
13
base/elasticsearch/1.4.2/docker-entrypoint.sh
Normal file
13
base/elasticsearch/1.4.2/docker-entrypoint.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# Add elasticsearch as command if needed
|
||||
if [ "${1:0:1}" = '-' ]; then
|
||||
set -- elasticsearch "$@"
|
||||
fi
|
||||
|
||||
# As argument is not related to elasticsearch,
|
||||
# then assume that user wants to run his own process,
|
||||
# for example a `bash` shell to explore this image
|
||||
exec "$@"
|
15
base/elasticsearch/1.4.2/logging.yml
Normal file
15
base/elasticsearch/1.4.2/logging.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
# you can override this using by setting a system property, for example -Des.logger.level=DEBUG
|
||||
es.logger.level: INFO
|
||||
rootLogger: ${es.logger.level}, console
|
||||
logger:
|
||||
# log action execution errors for easier debugging
|
||||
action: DEBUG
|
||||
# reduce the logging for aws, too much is logged under the default INFO
|
||||
com.amazonaws: WARN
|
||||
|
||||
appender:
|
||||
console:
|
||||
type: console
|
||||
layout:
|
||||
type: consolePattern
|
||||
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
|
19
base/elasticsearch/1.4.4/Dockerfile
Normal file
19
base/elasticsearch/1.4.4/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM openjdk:8-jre
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
COPY logging.yml ./config/logging.yml
|
||||
COPY docker-entrypoint.sh /
|
||||
|
||||
RUN set -ex \
|
||||
&& mkdir -p /usr/share/elasticsearch \
|
||||
&& wget -qO- https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.4.4.tar.gz | tar zx \
|
||||
--strip-components 1 -C /usr/share/elasticsearch \
|
||||
&& chmod +x /docker-entrypoint.sh
|
||||
|
||||
ENV PATH /usr/share/elasticsearch/bin:$PATH
|
||||
WORKDIR /usr/share/elasticsearch
|
||||
EXPOSE 9200 9300
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["elasticsearch"]
|
13
base/elasticsearch/1.4.4/docker-entrypoint.sh
Normal file
13
base/elasticsearch/1.4.4/docker-entrypoint.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# Add elasticsearch as command if needed
|
||||
if [ "${1:0:1}" = '-' ]; then
|
||||
set -- elasticsearch "$@"
|
||||
fi
|
||||
|
||||
# As argument is not related to elasticsearch,
|
||||
# then assume that user wants to run his own process,
|
||||
# for example a `bash` shell to explore this image
|
||||
exec "$@"
|
15
base/elasticsearch/1.4.4/logging.yml
Normal file
15
base/elasticsearch/1.4.4/logging.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
# you can override this using by setting a system property, for example -Des.logger.level=DEBUG
|
||||
es.logger.level: INFO
|
||||
rootLogger: ${es.logger.level}, console
|
||||
logger:
|
||||
# log action execution errors for easier debugging
|
||||
action: DEBUG
|
||||
# reduce the logging for aws, too much is logged under the default INFO
|
||||
com.amazonaws: WARN
|
||||
|
||||
appender:
|
||||
console:
|
||||
type: console
|
||||
layout:
|
||||
type: consolePattern
|
||||
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
|
19
base/elasticsearch/1.5.1/Dockerfile
Normal file
19
base/elasticsearch/1.5.1/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM openjdk:8-jre
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
COPY logging.yml ./config/logging.yml
|
||||
COPY docker-entrypoint.sh /
|
||||
|
||||
RUN set -ex \
|
||||
&& mkdir -p /usr/share/elasticsearch \
|
||||
&& wget -qO- https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.5.1.tar.gz | tar zx \
|
||||
--strip-components 1 -C /usr/share/elasticsearch \
|
||||
&& chmod +x /docker-entrypoint.sh
|
||||
|
||||
ENV PATH /usr/share/elasticsearch/bin:$PATH
|
||||
WORKDIR /usr/share/elasticsearch
|
||||
EXPOSE 9200 9300
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["elasticsearch"]
|
13
base/elasticsearch/1.5.1/docker-entrypoint.sh
Normal file
13
base/elasticsearch/1.5.1/docker-entrypoint.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# Add elasticsearch as command if needed
|
||||
if [ "${1:0:1}" = '-' ]; then
|
||||
set -- elasticsearch "$@"
|
||||
fi
|
||||
|
||||
# As argument is not related to elasticsearch,
|
||||
# then assume that user wants to run his own process,
|
||||
# for example a `bash` shell to explore this image
|
||||
exec "$@"
|
15
base/elasticsearch/1.5.1/logging.yml
Normal file
15
base/elasticsearch/1.5.1/logging.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
# you can override this using by setting a system property, for example -Des.logger.level=DEBUG
|
||||
es.logger.level: INFO
|
||||
rootLogger: ${es.logger.level}, console
|
||||
logger:
|
||||
# log action execution errors for easier debugging
|
||||
action: DEBUG
|
||||
# reduce the logging for aws, too much is logged under the default INFO
|
||||
com.amazonaws: WARN
|
||||
|
||||
appender:
|
||||
console:
|
||||
type: console
|
||||
layout:
|
||||
type: consolePattern
|
||||
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
|
14
base/elasticsearch/1.5.1/with-tomcat/Dockerfile
Normal file
14
base/elasticsearch/1.5.1/with-tomcat/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM vulhub/elasticsearch:1.5.1
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
ENV CATALINA_HOME=/usr/local/tomcat
|
||||
|
||||
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||||
|
||||
RUN set -ex \
|
||||
&& mkdir -p $CATALINA_HOME \
|
||||
&& wget -qO- http://www-us.apache.org/dist/tomcat/tomcat-8/v8.5.33/bin/apache-tomcat-8.5.33.tar.gz \
|
||||
| tar zx --strip-components 1 -C $CATALINA_HOME \
|
||||
&& sed -i 's/securerandom\.source=file:\/dev\/random/securerandom.source=file:\/dev\/.\/urandom/g' $JAVA_HOME/lib/security/java.security \
|
||||
&& chmod +x /docker-entrypoint.sh
|
16
base/elasticsearch/1.5.1/with-tomcat/docker-entrypoint.sh
Normal file
16
base/elasticsearch/1.5.1/with-tomcat/docker-entrypoint.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
${CATALINA_HOME}/bin/catalina.sh start
|
||||
|
||||
# Add elasticsearch as command if needed
|
||||
if [ "${1:0:1}" = '-' ]; then
|
||||
set -- elasticsearch "$@"
|
||||
fi
|
||||
|
||||
|
||||
# As argument is not related to elasticsearch,
|
||||
# then assume that user wants to run his own process,
|
||||
# for example a `bash` shell to explore this image
|
||||
exec "$@"
|
19
base/elasticsearch/1.6.0/Dockerfile
Normal file
19
base/elasticsearch/1.6.0/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM openjdk:8-jre
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
COPY logging.yml ./config/logging.yml
|
||||
COPY docker-entrypoint.sh /
|
||||
|
||||
RUN set -ex \
|
||||
&& mkdir -p /usr/share/elasticsearch \
|
||||
&& wget -qO- https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.6.0.tar.gz | tar zx \
|
||||
--strip-components 1 -C /usr/share/elasticsearch \
|
||||
&& chmod +x /docker-entrypoint.sh
|
||||
|
||||
ENV PATH /usr/share/elasticsearch/bin:$PATH
|
||||
WORKDIR /usr/share/elasticsearch
|
||||
EXPOSE 9200 9300
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["elasticsearch"]
|
13
base/elasticsearch/1.6.0/docker-entrypoint.sh
Normal file
13
base/elasticsearch/1.6.0/docker-entrypoint.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# Add elasticsearch as command if needed
|
||||
if [ "${1:0:1}" = '-' ]; then
|
||||
set -- elasticsearch "$@"
|
||||
fi
|
||||
|
||||
# As argument is not related to elasticsearch,
|
||||
# then assume that user wants to run his own process,
|
||||
# for example a `bash` shell to explore this image
|
||||
exec "$@"
|
15
base/elasticsearch/1.6.0/logging.yml
Normal file
15
base/elasticsearch/1.6.0/logging.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
# you can override this using by setting a system property, for example -Des.logger.level=DEBUG
|
||||
es.logger.level: INFO
|
||||
rootLogger: ${es.logger.level}, console
|
||||
logger:
|
||||
# log action execution errors for easier debugging
|
||||
action: DEBUG
|
||||
# reduce the logging for aws, too much is logged under the default INFO
|
||||
com.amazonaws: WARN
|
||||
|
||||
appender:
|
||||
console:
|
||||
type: console
|
||||
layout:
|
||||
type: consolePattern
|
||||
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
|
26
base/elasticsearch/5.6.16/Dockerfile
Normal file
26
base/elasticsearch/5.6.16/Dockerfile
Normal file
@@ -0,0 +1,26 @@
|
||||
FROM openjdk:8-jre
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
ARG ESHOME=/usr/share/elasticsearch
|
||||
COPY docker-entrypoint.sh /
|
||||
|
||||
RUN set -ex \
|
||||
&& mkdir -p ${ESHOME} \
|
||||
&& wget -qO- https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.16.tar.gz | tar zx \
|
||||
--strip-components 1 -C ${ESHOME} \
|
||||
&& chmod +x /docker-entrypoint.sh
|
||||
|
||||
ENV PATH ${ESHOME}/bin:$PATH
|
||||
WORKDIR ${ESHOME}
|
||||
EXPOSE 9200 9300
|
||||
|
||||
COPY elasticsearch.yml ./config/
|
||||
RUN sed -ex \
|
||||
&& chown nobody:nogroup -R ${ESHOME} \
|
||||
&& sed -i 's/\-Xms2g/-Xms512m/g' ${ESHOME}/config/jvm.options \
|
||||
&& sed -i 's/\-Xmx2g/-Xmx512m/g' ${ESHOME}/config/jvm.options
|
||||
|
||||
USER nobody:nogroup
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["elasticsearch"]
|
13
base/elasticsearch/5.6.16/docker-entrypoint.sh
Normal file
13
base/elasticsearch/5.6.16/docker-entrypoint.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# Add elasticsearch as command if needed
|
||||
if [ "${1:0:1}" = '-' ]; then
|
||||
set -- elasticsearch "$@"
|
||||
fi
|
||||
|
||||
# As argument is not related to elasticsearch,
|
||||
# then assume that user wants to run his own process,
|
||||
# for example a `bash` shell to explore this image
|
||||
exec "$@"
|
2
base/elasticsearch/5.6.16/elasticsearch.yml
Normal file
2
base/elasticsearch/5.6.16/elasticsearch.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
cluster.name: "docker-cluster"
|
||||
network.host: 0.0.0.0
|
24
base/elasticsearch/6.8.6/Dockerfile
Normal file
24
base/elasticsearch/6.8.6/Dockerfile
Normal file
@@ -0,0 +1,24 @@
|
||||
FROM openjdk:8-jre
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
ARG ESHOME=/usr/share/elasticsearch
|
||||
COPY docker-entrypoint.sh /
|
||||
|
||||
RUN set -ex \
|
||||
&& mkdir -p ${ESHOME} \
|
||||
&& wget -qO- https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.6.tar.gz | tar zx \
|
||||
--strip-components 1 -C ${ESHOME} \
|
||||
&& chmod +x /docker-entrypoint.sh
|
||||
|
||||
ENV PATH ${ESHOME}/bin:$PATH
|
||||
WORKDIR ${ESHOME}
|
||||
EXPOSE 9200 9300
|
||||
|
||||
COPY elasticsearch.yml ./config/
|
||||
RUN sed -ex \
|
||||
&& chown nobody:nogroup -R ${ESHOME}
|
||||
|
||||
USER nobody:nogroup
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["elasticsearch"]
|
13
base/elasticsearch/6.8.6/docker-entrypoint.sh
Normal file
13
base/elasticsearch/6.8.6/docker-entrypoint.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# Add elasticsearch as command if needed
|
||||
if [ "${1:0:1}" = '-' ]; then
|
||||
set -- elasticsearch "$@"
|
||||
fi
|
||||
|
||||
# As argument is not related to elasticsearch,
|
||||
# then assume that user wants to run his own process,
|
||||
# for example a `bash` shell to explore this image
|
||||
exec "$@"
|
2
base/elasticsearch/6.8.6/elasticsearch.yml
Normal file
2
base/elasticsearch/6.8.6/elasticsearch.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
cluster.name: "docker-cluster"
|
||||
network.host: 0.0.0.0
|
24
base/elasticsearch/7.14.2/Dockerfile
Normal file
24
base/elasticsearch/7.14.2/Dockerfile
Normal file
@@ -0,0 +1,24 @@
|
||||
FROM openjdk:8u102-jre
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
ARG ESHOME=/usr/share/elasticsearch
|
||||
COPY docker-entrypoint.sh /
|
||||
|
||||
RUN set -ex \
|
||||
&& mkdir -p ${ESHOME} \
|
||||
&& wget -qO- https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.16.0-no-jdk-linux-x86_64.tar.gz | tar zx \
|
||||
--strip-components 1 -C ${ESHOME} \
|
||||
&& chmod +x /docker-entrypoint.sh
|
||||
|
||||
ENV PATH ${ESHOME}/bin:$PATH
|
||||
WORKDIR ${ESHOME}
|
||||
EXPOSE 9200 9300
|
||||
|
||||
COPY elasticsearch.yml ./config/
|
||||
RUN sed -ex \
|
||||
&& chown nobody:nogroup -R ${ESHOME}
|
||||
|
||||
USER nobody:nogroup
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["elasticsearch"]
|
13
base/elasticsearch/7.14.2/docker-entrypoint.sh
Normal file
13
base/elasticsearch/7.14.2/docker-entrypoint.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# Add elasticsearch as command if needed
|
||||
if [ "${1:0:1}" = '-' ]; then
|
||||
set -- elasticsearch "$@"
|
||||
fi
|
||||
|
||||
# As argument is not related to elasticsearch,
|
||||
# then assume that user wants to run his own process,
|
||||
# for example a `bash` shell to explore this image
|
||||
exec "$@"
|
5
base/elasticsearch/7.14.2/elasticsearch.yml
Normal file
5
base/elasticsearch/7.14.2/elasticsearch.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
cluster.name: "docker-cluster"
|
||||
network.host: 0.0.0.0
|
||||
http.port: 9200
|
||||
transport.host: localhost
|
||||
transport.tcp.port: 9300
|
3
base/elasticsearch/7.6.2/Dockerfile
Normal file
3
base/elasticsearch/7.6.2/Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
||||
FROM docker.elastic.co/elasticsearch/elasticsearch:7.6.2
|
||||
|
||||
LABEL maintainer="carson0321 <r03944040@g.ntu.edu.tw>"
|
Reference in New Issue
Block a user