Hi, I'd like to use obuilder_spec to describe an image and be able to locally build it using Current_docker.
For now it's complicated because Current_docker.Default.build expects a ('Contents of Dockerfile.t), but Obuilder_spec.Docker.dockerfile_of_spec returns the dockerfile as a string. So I actually have to write down the content to a file using Current_fs.save and then use 'File of Fpath.t in the current_docker build.
Do you think it would be possible to have the conversion from an obuilder spec to a Dockerfile.t to simplify the process ?
Hi, I'd like to use
obuilder_specto describe an image and be able to locally build it usingCurrent_docker.For now it's complicated because
Current_docker.Default.buildexpects a ('Contents of Dockerfile.t), butObuilder_spec.Docker.dockerfile_of_specreturns the dockerfile as astring. So I actually have to write down the content to a file usingCurrent_fs.saveand then use'File of Fpath.tin the current_docker build.Do you think it would be possible to have the conversion from an obuilder spec to a Dockerfile.t to simplify the process ?