Zack Williams | 2a28709 | 2016-05-18 13:41:31 -0700 | [diff] [blame] | 1 | # ONOS dockerfile with XOS additions |
| 2 | |
| 3 | FROM onosproject/onos |
| 4 | MAINTAINER Zack Williams <zdw@cs.arizona.edu> |
| 5 | |
| 6 | # Include SSL certs |
| 7 | COPY xos-certs.crt /usr/local/share/ca-certificates/xos-certs.crt |
| 8 | RUN update-ca-certificates |
| 9 | |
| 10 | # Create Java KeyStore from certs |
| 11 | RUN openssl x509 -in /usr/local/share/ca-certificates/xos-certs.crt -outform der -out /usr/local/share/ca-certificates/xos-certs.der |
| 12 | RUN 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 Williams | 52b2720 | 2016-05-20 06:51:22 -0700 | [diff] [blame] | 15 | COPY onos-service /root/onos/bin/onos-service |
| 16 | RUN chmod 755 /root/onos/bin/onos-service |
Zack Williams | 2a28709 | 2016-05-18 13:41:31 -0700 | [diff] [blame] | 17 | |