Code Review
/
dmaap
/
buscontroller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add lnk for cadi certificates
[dmaap/buscontroller.git]
/
dmaap-bc
/
src
/
main
/
resources
/
Dockerfile
diff --git
a/dmaap-bc/src/main/resources/Dockerfile
b/dmaap-bc/src/main/resources/Dockerfile
index
f900fed
..
014fb5e
100644
(file)
--- a/
dmaap-bc/src/main/resources/Dockerfile
+++ b/
dmaap-bc/src/main/resources/Dockerfile
@@
-35,10
+35,16
@@
RUN update-ca-certificates
# Install curl
RUN apk add --no-cache curl
# Install curl
RUN apk add --no-cache curl
+# Install bash
+RUN apk update && apk add bash
+
+#prepare certificate location for cadi
+RUN mkdir -p /opt/app/osaaf && \
+ ln -s /opt/app/dmaapbc/etc /opt/app/osaaf/local
+
RUN mv etc/org.onap.dmaap-bc.jks etc/keystore && \
chmod 600 etc/keystore && \
chmod 600 etc/org.onap.dmaap-bc.trust.jks && \
RUN mv etc/org.onap.dmaap-bc.jks etc/keystore && \
chmod 600 etc/keystore && \
chmod 600 etc/org.onap.dmaap-bc.trust.jks && \
- chmod +x misc/cert-client-init.sh && \
chmod +x bin/* && \
mkdir logs && \
mkdir www && \
chmod +x bin/* && \
mkdir logs && \
mkdir www && \