Skip to content

Commit eb4a8f4

Browse files
committed
Merge branch 'my_baking_recepie' of https://github.com/smiyc/cloudnative-pg.github.io into my_baking_recepie
Signed-off-by: Daniel Chambre <[email protected]>
2 parents 19edf8c + 5a24ba7 commit eb4a8f4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

content/blog/customizing-hcl/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ summary: How I used Jonathan's blog post to create an hcl for my needs.
2323

2424
## Summary
2525
The 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/" %}}) .
2828
Before 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`,
3030
I 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

3737
Edit, build and push had to be done for each PostgreSQL version.
3838
So 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))
4141
Jonathan wrote and adopted it to fit my needs.
4242
After 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

4949
To 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
162162
to build new images are
163163
- udpate the `pgVersion` variable
164164
- run the `docker buildx bake` command

0 commit comments

Comments
 (0)