Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was 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

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions