Hi , i started to use docker DHI as part of my day to day docker image builds , and i saw that the new docker DHI has yaml formated dockerfile i thins its the syntax layer (# syntax=dhi.io/build:2-debian13)
I was wondering if i can get that syntax or if its going to be publicly available any time soon ?
For the devops guys out there , managing and templating yaml is so much easier
It should already be available. The string after the syntax keyword is a tag of a Docker image. The same method is used and documented for other features
If you go to the hardened images browser and search for “build”, you should find the image, but you need to log in to dhi.io as you would to pull other hardened images.
And I replied exactly to that. # syntax=imagename defines what buildkit can do, how it can interpret the Dockerfile. Have you tried to build a dockerfile like that?