Running make within a container

Currently reading
Running make within a container

Probably not 100% a Synology question but I'd like to run a make command within a (working) container. Is there a way to achieve this ?
 
well not sure the required tools are in there but, in any case, how would I go about that ? (as you can see I am pretty new to the whole container thing)
 
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 ;)
 
Indeed.

To get back to the synology eco system I guess we need a x64 toolchain (ie the docker runs as an x86 processor) ?
 
Somehow your style of question reminds me to "let me google that for you" requests...

Word of advise: find the image maintainer's github page and raise a feature request.
 

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

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
580
  • Question
Sure, thanks for the tip, apparently it can workaround the Web Station bug although I wonder how this...
Replies
6
Views
6,410
Sorry, misread your previous questions so my answer was confusing. They will not have issues, no.
Replies
14
Views
3,277
Has anything happened since I wrote this post? Is there an easier way yet to install SVN? Can't someone...
Replies
6
Views
8,429
Have you tried to setup a rule for specific docker network subnet for that container and test internet access?
Replies
24
Views
6,892
@DeltaGolf Here’s my approach: Docker - NextCloud on Synology NAS using Docker compose (with Portainer)
Replies
18
Views
3,703

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