60414de064b02cd1426cdf53742614b191dd3912
[aaf/authz.git] / auth / docker / Dockerfile
1 FROM openjdk:8
2 MAINTAINER AAF Team, AT&T 2018
3 ENV VERSION=${AAF_VERSION}
4
5 LABEL description="aaf ${AAF_COMPONENT}"
6 LABEL version=${AAF_VERSION}
7
8 RUN apt-get update
9 RUN apt-get install -y softhsm2
10 RUN apt-get install -y libsofthsm2
11 RUN apt-get install -y opensc
12
13 COPY lib /opt/app/aaf/${AAF_COMPONENT}/lib
14 COPY theme /opt/app/aaf/${AAF_COMPONENT}/theme
15 COPY bin /opt/app/aaf/${AAF_COMPONENT}/bin
16
17 CMD ["bash","/opt/app/aaf/${AAF_COMPONENT}/bin/${AAF_COMPONENT}"]
18
19 # For Debugging installation
20 # CMD ["bash"]     
21 # Java Debugging VM Args
22 #     "-Xdebug",\
23 #     "-Xnoagent",\
24 #     "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000",\
25
26 # TLS Debugging VM Args
27 #     "-Djavax.net.debug","ssl", \
28      
29