Sustainable Computing Research Lab (SCoRe)
[CLocal-Azure] Add windows support for Azure Functions, Storage and API App services
For the moment, Azure functions, Azure storage and API App service are supported only for linux based environment. Therefore, by referring the cosmos db service, add the support on above three services by changing the sockets in the code. For that, you need to refer the Dockerode library (link given below). Add a mechanism where user is able to use with windows and linux both. To submit, open a pull request and send us the pull request.
In Windows:
- let docker = new Docker({socketPath: "//./pipe/docker_engine"});
In Linux
- let docker = new Docker({socketPath: "/var/run/docker.sock"});
Find a way to add both in the project and run what ever needs according to OS.
Reference:
- https://github.com/apocas/dockerode
- https://github.com/cloudlibz/clocal-azure/blob/master/README.md
- https://github.com/cloudlibz/clocal-azure/tree/master/src/services
Task Deliverables: PR link
Task tags
Students who completed this task
Anurag Parida, RohanCode, kunalbhatia, Łukasz Myśliwiec, Palash, Geethmaka Dissanayake