blob: 48ee1c1dae52d71ee8f46043fe24f07ff01d1bb8 [file] [log] [blame]
Zack Williams2a287092016-05-18 13:41:31 -07001# ONOS dockerfile with XOS additions
2
Zack Williams3f3f6402016-06-08 13:31:12 -07003FROM xosproject/onos-fork
Zack Williams2a287092016-05-18 13:41:31 -07004MAINTAINER Zack Williams <zdw@cs.arizona.edu>
5
6# Include SSL certs
7COPY xos-certs.crt /usr/local/share/ca-certificates/xos-certs.crt
8RUN update-ca-certificates
9
10# Create Java KeyStore from certs
11RUN openssl x509 -in /usr/local/share/ca-certificates/xos-certs.crt -outform der -out /usr/local/share/ca-certificates/xos-certs.der
12RUN 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
13
14# Updated onos-service to use the jks
Zack Williams52b27202016-05-20 06:51:22 -070015COPY onos-service /root/onos/bin/onos-service
16RUN chmod 755 /root/onos/bin/onos-service
Zack Williams2a287092016-05-18 13:41:31 -070017