Hi all. I'm researching alternatives for our current docker-daemon based image build. I would like to hear any suggestions from you.
Currently, we are building an image using dockerFile with multi-stages feature.
In the first stage, I take a graal-vm image and I install native-image on it.
In the next stage, I copy our project's generated jars to it and run native-image tool on them.
And in the last stage, I take a small Linux distro and copy the artifacts from stage 2 to it.
Question: can we achieve that using docker-daemon-less feature of jkube ?
uber-yml;P that would depend on the rest of modules that do generate YAMLs. This module should collect the resources generated by the rest. Here you could add for example the helm goal execution so that a single chart was produced.
I'm having some difficulties getting a docker image pushed to our local Nexus. Despite my configuration, the push is to "docker://myimagename:latest".
I have the following property settings in force (declared as maven property elements, but shown below as name=value):
jkube.build.buildOutput.kind = DockerImage
jkube.docker.registry = my.nexus.com:8443/repository/MyProject-Docker
jkube.build.pushSecret = my-nexus
jkube.build.switchToDeployment = true
jkube.build.strategy = docker
It would appear that the jkube.docker.registry value is being ignored.