@@ -23,10 +23,10 @@ summary: How I used Jonathan's blog post to create an hcl for my needs.
2323
2424## Summary
2525The other week [ Jonathan Gonzalez] ({{% ref "/authors/jgonzalez/" %}}) wrote an
26- [ article] ({{% ref "/blog/building-images-bake/" %}})
27- on how to customize docker images using an override hcl file.
26+ article on
27+ [ how to customize docker images using an override hcl file] ({{% ref "/blog/building-images-bake/" %}}) .
2828Before the [ postgres-containers repo] ( (https://github.com/cloudnative-pg/postgres-containers) )
29- was extended by the option to build the images with ` docker build bake ` ,
29+ was enhanced with the option to build the images with ` docker build bake ` ,
3030I had to do this steps manually in order to have custom images for our workloads.
3131
3232 - clone the repo
@@ -36,15 +36,15 @@ I had to do this steps manually in order to have custom images for our workloads
3636
3737Edit, build and push had to be done for each PostgreSQL version.
3838So a lot of boring work needed to be done in order to have updated images.
39- The chance to avoid this work sounds prommising to me, so I started with the
39+ The chance to avoid this work sounds promising to me, so I started with the
4040[ hcl file] ( (https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg.github.io/refs/heads/main/content/blog/building-images-bake/bake.hcl) )
4141Jonathan wrote and adopted it to fit my needs.
4242After a troubleshooting session, he asked me to share the changes I made.
43- So here we are.
43+ So here are my detailed instructions, in case they could prove useful to others .
4444
4545## Instructions
4646
47- ### Step 1: Prepare local Bake file
47+ ### Step 1: Prepare the local Bake file
4848
4949To build a custom image we add the following content in a local file with name
5050` bake.hcl ` :
@@ -158,7 +158,7 @@ Test them and stage them through your environment.
158158
159159## Conclusion
160160
161- Once you prepared the override file to fit to your needs, the only manual setps
161+ Once you prepare the override file to fit to your needs, the only manual steps
162162to build new images are
163163 - udpate the ` pgVersion ` variable
164164 - run the ` docker buildx bake ` command
0 commit comments