Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.49 KB

building-deployment.md

File metadata and controls

29 lines (17 loc) · 1.49 KB

Building and Deployment

To streamline building process plugin project has been dockerized. With that way every dependency and process steps are arranged through docker image. Docker file starts with amazoncorretto:11 base image. Then simply addition of maven support to image. After that step the image is ready for building commands. Depending of the solution choice image will build and deploy to connector plugin.

The Dockerfiles can be found in Functions.Dockerfile and Server.Dockerfile

Serverless solution

The plugin currently supports AWS Lambda, Google Cloud Functions and Azure Functions. With Function image function projects could be build. With run command the builds will deployed to the related clould environment.

Build

docker build -f Functions.Dockerfile -t signifyd-functions .
docker run signifyd-functions  

Dockerized Container solution

dockerized-infra

The dockerized container solution is web server that expose functions as endpoints. Spring Boot framework used as web server solution. With building the image both functions and server will be build and running the container a web service will be ready at port 8080.

Build

docker build -f Server.Dockerfile -t signifyd-connector-server .