Skip to content

Commit

Permalink
install cron
Browse files Browse the repository at this point in the history
  • Loading branch information
phith0n committed Jul 3, 2017
1 parent 1ea47fb commit 3949fec
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions activemq/CVE-2016-3088/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM vulhub/openjdk:7-jre

MAINTAINER phithon <root@leavesongs.com>

RUN apt-get update \
&& apt-get install cron --no-install-recommends \
&& rm -r /var/lib/apt/lists/*

COPY entrypoint.sh /usr/local/bin/

CMD ["/bin/sh", "/usr/local/bin/entrypoint.sh"]
5 changes: 5 additions & 0 deletions activemq/CVE-2016-3088/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

/usr/sbin/service cron start

/bin/sh bin/activemq console

0 comments on commit 3949fec

Please sign in to comment.