blob: 6ac780b4580433e6ab9e9f70c47a51b3d462116b [file] [log] [blame]
Zack Williams2a287092016-05-18 13:41:31 -07001# ONOS dockerfile with XOS additions
2
Andy Bavierc2335122016-06-25 09:59:22 -04003#FROM xosproject/onos-fork
4FROM onosproject/onos:1.6
Zack Williams2a287092016-05-18 13:41:31 -07005MAINTAINER Zack Williams <zdw@cs.arizona.edu>
6
7# Include SSL certs
8COPY xos-certs.crt /usr/local/share/ca-certificates/xos-certs.crt
9RUN update-ca-certificates
10
11# Create Java KeyStore from certs
12RUN openssl x509 -in /usr/local/share/ca-certificates/xos-certs.crt -outform der -out /usr/local/share/ca-certificates/xos-certs.der
13RUN keytool -import -noprompt -storepass 222222 -alias xos-certs -file /usr/local/share/ca-certificates/xos-certs.der -keystore /usr/local/share/ca-certificates/xos-certs.jks
14
15# Updated onos-service to use the jks
Zack Williams52b27202016-05-20 06:51:22 -070016COPY onos-service /root/onos/bin/onos-service
17RUN chmod 755 /root/onos/bin/onos-service
Zack Williams2a287092016-05-18 13:41:31 -070018