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,241
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,486
  • Question
1707646023 Old post!! But I have the same isue. To enable the portal, I go into Container Management...
Replies
7
Views
9,875
ye, feels like routing issue. Internet connection is working until tunnel is up. After that tunnel seems...
Replies
26
Views
4,927
I have published result of my research as a blog at SVN для NAS под Synology DSM 7.2. Записки Linux...
Replies
48
Views
14,774
Have you tried to setup a rule for specific docker network subnet for that container and test internet access?
Replies
24
Views
9,178

Welcome to SynoForum.com!

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

Registration is free, easy and fast!

Back
Top