Build wazuh debian package

68 views
Skip to first unread message

Dai Nguyen

unread,
Jun 26, 2023, 11:29:21 AM6/26/23
to Wazuh mailing list
Hi,
I want to build wazuh debian package, I use wazuh version 4.3.10 and I modified this version by adding UI for wazuh agent in Ubuntu, my UI is using gtk library 3.0 and 2.0. Everything is good when I build agent in my computer but when I build debian package, I got an error  when my source code is compiling in Docker. I had an issue with my UI in Docer because I can not compile it in Docker. So I modified Docker file like this:

docker.jpg 
But after modifing Dockerfile, I still cann't compile my UI in Docker. So, can I build wazuh debian package without using Docker?
My english is not good, so let me know if you dont understand I mean.
Thank you so much!!

Jorge Alberto Marino

unread,
Jun 29, 2023, 10:32:53 AM6/29/23
to Wazuh mailing list
Hello Dai Nguyen,

I' ll be taking a look at this and get back to you as soon as possible.

Jorge Alberto Marino

unread,
Jun 29, 2023, 2:54:33 PM6/29/23
to Wazuh mailing list
Hello Dai Nguyen.

It's possible to build that debian package without Docker.

You could check how it's done inside the container and replicate that in your computer that already builds ok.

https://github.com/wazuh/wazuh-packages/blob/master/debs/build.sh

Please consider that this script is meant to be used in the docker environment, just use it as reference and keep special attention to paths.

Hope this helps,
Please let me know how it went.

Regards
Jorge.
Reply all
Reply to author
Forward
0 new messages