blob: 79e6134100fbdf670995dd512381df683f6b83e9 [file] [log] [blame]
William Kurkianad1f5732018-09-17 14:42:42 -04001FROM ubuntu:16.04
2RUN apt-get update && \
3 apt-get upgrade -y && \
4 apt-get install -y openjdk-8-jdk curl less kafkacat && \
5 apt-get clean
6
7RUN mkdir /opt/ves-agent && chmod 777 -R /opt/ves-agent
8VOLUME /tmp
9ARG JAR_FILE
10ARG PROPERTIES_FILE
11COPY ${PROPERTIES_FILE} /opt/ves-agent/config.properties
12COPY ${JAR_FILE} app.jar
13ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]