Open jeusdi opened 6 years ago
You should use <cmd>
for the final command to use which is calling the java start up script. If you need some extra RUN instructions in your Dockerfile for doing some setup stuff, use <runCmds>
. See https://dmp.fabric8.io/#build-configuration for details.
E.g.
<runCmds>
<run>keytool -import -alias vault -storepass changeit -keystore truststore.jks -noprompt -trustcacerts -file /var/run/secrets/kubernetes.io/certs/tls.crt</run>
</runCmds>
Does this help ?
I'm trying to create a truststore adding certificates located into a folder. This is my
build
section.This is the
Dockerfile
fabric8 generates:I don't know why it doesn't work.
Do you suggest me another way to get my goal?