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:
16
base/activemq/5.11.1/Dockerfile
Normal file
16
base/activemq/5.11.1/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM vulhub/java:7u21-jdk
|
||||
|
||||
ENV ACTIVEMQ_VERSION 5.11.1
|
||||
ENV ACTIVEMQ apache-activemq-$ACTIVEMQ_VERSION
|
||||
ENV ACTIVEMQ_TCP=61616 ACTIVEMQ_UI=8161
|
||||
|
||||
ENV ACTIVEMQ_HOME /opt/activemq
|
||||
|
||||
RUN set -x && \
|
||||
curl -s -S https://archive.apache.org/dist/activemq/$ACTIVEMQ_VERSION/$ACTIVEMQ-bin.tar.gz | tar xvz -C /opt && \
|
||||
ln -s /opt/$ACTIVEMQ $ACTIVEMQ_HOME
|
||||
|
||||
WORKDIR $ACTIVEMQ_HOME
|
||||
EXPOSE $ACTIVEMQ_TCP $ACTIVEMQ_UI
|
||||
|
||||
CMD ["/bin/sh", "-c", "bin/activemq console"]
|
11
base/activemq/5.11.1/with-cron/Dockerfile
Normal file
11
base/activemq/5.11.1/with-cron/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM vulhub/activemq:5.11.1
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y cron rsyslog --no-install-recommends \
|
||||
&& rm -r /var/lib/apt/lists/*
|
||||
|
||||
COPY entrypoint.sh /usr/local/bin/
|
||||
|
||||
CMD ["/bin/sh", "/usr/local/bin/entrypoint.sh"]
|
7
base/activemq/5.11.1/with-cron/entrypoint.sh
Normal file
7
base/activemq/5.11.1/with-cron/entrypoint.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
cron -L15
|
||||
|
||||
rsyslogd
|
||||
|
||||
/bin/sh -c "/opt/activemq/bin/activemq console"
|
Reference in New Issue
Block a user