@Named("rider-auto-file") public void withVolumeMounts(ContainerBuilder builder) { builder .withVolumeMounts( new VolumeMount("/deployments/target/placeorder", "rider-auto-file-volume", false)) .build(); }
@Named("jenkins") public void on(ContainerBuilder builder) { builder .withNewLifecycle() .withNewPostStart() .withNewExec() .addToCommand("/root/postStart.sh") .endExec() .endPostStart() .endLifecycle() .build(); }