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:
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
|
Reference in New Issue
Block a user