<reponame>CrackerCat/app-env-docker<gh_stars>100-1000
FROM openrasp/centos7

MAINTAINER OpenRASP <<EMAIL>>

ENV jdk_ver 7u17
ENV jdk_url https://packages.baidu.com/app/jdk-7/jdk-${jdk_ver}-linux-x64.tar.gz

# 下载 JDK
RUN curl "$jdk_url" -o jdk.tar.gz \
	&& tar -xf jdk.tar.gz \
	&& mv jdk1.7.0_* /jdk/ \
	&& rm -f jdk.tar.gz

# 下载 ysoserial
RUN curl https://packages.baidu.com/app/ysoserial-0.0.6-SNAPSHOT-all.jar -o /tmp/ysoserial.jar