You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
323 B

FROM alpine:3.14.0
ENV repo JNDI-Exploit-Kit
RUN apk add git maven
RUN git clone https://github.com/pimps/${repo}.git
WORKDIR ${repo}
RUN mvn clean package -DskipTests
RUN echo -e "#!/bin/sh\njava -jar target/${repo}-1.0-SNAPSHOT-all.jar \$@" > /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]