Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

How to build the docker image for a java IoT Edge module? #40

Open
ghost opened this issue May 3, 2018 · 0 comments
Open

How to build the docker image for a java IoT Edge module? #40

ghost opened this issue May 3, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented May 3, 2018

Hello,

I create this issue to ask for help to build the docker image for a java IoT Edge module.
Firstly, I take the timer sample from this repository. The sample runs correctly on my windows laptop. Then, I build the project with the linux profile, mvn clean install -P linux_profile, to generate the linux executable and its dependencies, and create the docker image with them. However, it does not work and the error message reports, "./gw: /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0: version `OPENSSL_1.0.2' not found (required by /app/libaziotsharedutil.so)". In this case, I use the base image, 'microsoft/dotnet:2.0-runtime-jessie', because it at least contains the necessary dependency, 'libssl.so.1.0.0'. Still, I feel like that it is not the correct base image.
Therefore, I would like to ask that, what would be the correct base image in this case? To be more general, how to build the docker image for a java IoT Edge module?

Best Regards,
x19chen

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants