blob: 729a460e973d25fd8d9ff559372b64f339b86e96 [file] [log] [blame]
Instrumental71037c32018-03-26 13:51:48 -07001FROM openjdk:8
2MAINTAINER AAF Team, AT&T 2018
3ENV VERSION=${AAF_VERSION}
4
5LABEL description="aaf ${AAF_COMPONENT}"
6LABEL version=${AAF_VERSION}
7
Instrumental924b18d2018-04-05 20:17:18 -05008
9#RUN apt-get update
10#RUN apt-get install -y softhsm2
11#RUN apt-get install -y libsofthsm2
12#RUN apt-get install -y opensc
Instrumental71037c32018-03-26 13:51:48 -070013
14COPY lib /opt/app/aaf/${AAF_COMPONENT}/lib
15COPY theme /opt/app/aaf/${AAF_COMPONENT}/theme
16COPY bin /opt/app/aaf/${AAF_COMPONENT}/bin
17
Instrumentalf482ea02018-04-10 15:03:24 -050018#CMD ["/bin/bash","/opt/app/aaf/${AAF_COMPONENT}/bin/${AAF_COMPONENT}"]
Instrumental71037c32018-03-26 13:51:48 -070019
20# For Debugging installation
Instrumentalf482ea02018-04-10 15:03:24 -050021CMD ["/bin/bash","-c","pwd;cd /opt/app/osaaf;find /opt/app/osaaf -depth;df -k; cat /opt/app/aaf/${AAF_COMPONENT}/bin/${AAF_COMPONENT};cat /etc/hosts;/opt/app/aaf/${AAF_COMPONENT}/bin/${AAF_COMPONENT}"]
Instrumental71037c32018-03-26 13:51:48 -070022# Java Debugging VM Args
23# "-Xdebug",\
24# "-Xnoagent",\
25# "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000",\
26
27# TLS Debugging VM Args
28# "-Djavax.net.debug","ssl", \
29