# How to build percona server mongodb operator image

**URL:** <https://forums.percona.com/t/how-to-build-percona-server-mongodb-operator-image/29090>\
**Category:** Percona Server for MongoDB\
**Tags:** percona, mongodb, psmdb-operator\
**Created:** [March 12, 2024, 9:58am UTC](https://forums.percona.com/t/how-to-build-percona-server-mongodb-operator-image/29090 "2024-03-12T09:58:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Avinash\_Rai](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/avinash_rai/32/10302_2.png) [@Avinash\_Rai](https://forums.percona.com/u/Avinash_Rai)\
**Post date:** [March 12, 2024, 9:58am UTC](https://forums.percona.com/t/how-to-build-percona-server-mongodb-operator-image/29090/1 "2024-03-12T09:58:33Z")

</div>

Hi,

I am trying to build my CI where we are going to made some changes in the operator and build it, but i don’t see any document regarding building psmdb operator image from scratch I can see a Dockerfile in operator repo but it is giving some errors.

Do we have any documents available like we have it for mongodb.

Thanks any help will be appreciated

---

<div class="post-metadata">

**Author:** ![Avinash\_Rai](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/avinash_rai/32/10302_2.png) [@Avinash\_Rai](https://forums.percona.com/u/Avinash_Rai)\
**Post date:** [March 12, 2024, 9:59am UTC](https://forums.percona.com/t/how-to-build-percona-server-mongodb-operator-image/29090/2 "2024-03-12T09:59:37Z")

</div>

![Screenshot 2024-03-12 at 3.29.05 PM](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/4/4a8fd71e0263c188c3d2ae3ab07a3e62a40466a9.png)  
here is the error screenshot incase if anyone can help me to resolve this issue

---

<div class="post-metadata">

**Author:** ![Tomislav\_Plavcic](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/tomislav_plavcic/32/9717_2.png) [@Tomislav\_Plavcic](https://forums.percona.com/u/Tomislav_Plavcic)\
**Post date:** [March 12, 2024, 11:52am UTC](https://forums.percona.com/t/how-to-build-percona-server-mongodb-operator-image/29090/3 "2024-03-12T11:52:59Z")

</div>

Hi @Avinash_Rai !

You can find more information about building the operator here: [percona-server-mongodb-operator/e2e-tests/README.md at main · percona/percona-server-mongodb-operator · GitHub](https://github.com/percona/percona-server-mongodb-operator/blob/main/e2e-tests/README.md)

In general all our operators have a build script in `e2e-tests/build` also there is a Makefile step `build` but it is using the same script.
