blob: 7afe69d8e8db221c7c30684860b1c29d293ed7f9 [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
Instrumental12f7f462018-04-23 15:43:47 -050018CMD ["/bin/bash","-c","/opt/app/aaf/${AAF_COMPONENT}/bin/${AAF_COMPONENT} >> /opt/app/osaaf/logs/${AAF_COMPONENT}/stdout`date -I` 2>> /opt/app/osaaf/logs/${AAF_COMPONENT}/stderr`date -I`"]
Instrumental71037c32018-03-26 13:51:48 -070019
20# For Debugging installation
Instrumental12f7f462018-04-23 15:43:47 -050021# CMD ["/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