Baltic-RCC / EMF

Repository for Open Source EMF implementation
Mozilla Public License 2.0
8 stars 3 forks source link

Containerisaton #3

Open Haigutus opened 1 year ago

Haigutus commented 1 year ago

Add to wiki main principles how we package the code as small docker based services

Base service image build

Deployment pipeline

Haigutus commented 1 year ago

Example how we have done it previously - https://github.com/Haigutus/rabbit_xml_gate/blob/master/Dockerfile

Some proposals/current practices:

The-Magicians-Code commented 1 year ago

Can be assigned to me with requested features/notes

Haigutus commented 1 year ago

To be assigned to Tanel

The-Magicians-Code commented 12 months ago

Problem when building Dockerfile, pypowsybl does not install, gives error:

image

/bin/sh: 1: /bin/native-image: not found

Tried a solution which did not yield any positive results: https://www.graalvm.org/latest/reference-manual/native-image/

The-Magicians-Code commented 10 months ago

Solution: Image successfully built on x86 Linux, MacOS version has to be built and compiled by the user Updated the docker build and added docs: 0dbdbaa