You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Buddhima Wijeweera (JIRA)" <ji...@apache.org> on 2017/01/03 09:33:58 UTC

[jira] [Updated] (SYNAPSE-1092) Create Dockerfile and base image for synapse

     [ https://issues.apache.org/jira/browse/SYNAPSE-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Buddhima Wijeweera updated SYNAPSE-1092:
----------------------------------------
    Attachment: Dockerfile

Hi All,
The attached Dockerfile can be used as a starting point for this.
It fetches the base Ubuntu 16.04 image and install Java 1.8 (Oracle) on top of it.
You may need to change URL to fetch the relevant distribution and folder names accordingly.
I checked this with a simple scenario and worked as expected.
1. Build with docker build -t="image-name"
2. Run with docker run -p 8280:8280 -it "image-name"

In future this needs to be improved to suite complex scenarios.

Thank you,
Buddhima

> Create Dockerfile and base image for synapse
> --------------------------------------------
>
>                 Key: SYNAPSE-1092
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-1092
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Deployment
>    Affects Versions: FUTURE
>            Reporter: Chanaka Fernando
>            Assignee: Isuru Udana Loku Narangoda
>         Attachments: Dockerfile
>
>
> Synapse is a light weight mediation engine which boots up within less than 2 seconds. This will eventually make it a good candidate for micro service based integrations where you have your micro integrations running on your own containers. It will be really useful if we create docker base image and docker file for synapse so that people can run synapse on containerized environments. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org