aboutsummaryrefslogtreecommitdiffstats
path: root/snmpmapper/Dockerfile
blob: 9483baf31d98d42df879cd98a4e3000e0299ea7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM ubuntu:16.04

WORKDIR /opt/app/SnmpMapper

ENV HOME /opt/app/SnmpMapper

ENV JAVA_HOME /usr

RUN apt-get update && apt-get install -y \
        curl \
        vim \
        openjdk-8-jdk


COPY snmpmapper.jar /opt/snmpmapper.jar

RUN bash -c 'touch /opt/snmpmapper.jar'

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/opt/snmpmapper.jar"]