Running make within a container

Currently reading
Running make within a container

Oh no problem.
I am running OpenVPN in a container and I need to "customize" it to support MFA. This required building some module from source, hence the need to run a "make".
I understand that Synology does not contain dev tools and we should cross compile. That being said within a container I guess it would be acceptable to build... but I have no idea how to achieve this.
 
This is one of the cases where "make" allone is insufficient.
You will need to take the Dockerfile of the original Image and enricht the steps you need to compile the modules.
This is far away from beeing a task for a beginner, as you will need to know a) how to edit Dockerfiles (beeing able to read the Dockerfile reference helps a lot), b) how to install the required build chain in the os the base images uses ,c) actualy know the commands to compile the modules and d) know how to integrate it into openvpn (or wherever the target is).

You picked a topic with a steep learning curve ;)
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

How did you create the Portainer container in first place? As in exact docker run commands or in case...
Replies
7
Views
1,404
Thank you for this - I'll give it a go and see where I get - worst case I learn something as I go!
Replies
6
Views
1,643
Replies
3
Views
793
I can’t find any option to restore just the settings. 1710356648 Phew, managed to fix it. Within the...
Replies
4
Views
501
  • Question
Open an issue on that GitHub page. The developers will be glad to assist. OP has posted two threads on...
Replies
5
Views
1,093
I'm happy with email notifications but in v0.3.3 of dockcheck the author added apprise notifications...
Replies
4
Views
1,231
Hi, I'll start by saying, my understanding of networking is very limited so I apologize if I'm asking an...
Replies
0
Views
793

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Back
Top