apache / apache/teaclave-java-tee-sdk

docker image environment

Open
#29 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
67
Forks
21
PR merge metrics
No merged PRs in 30d

Description

镜像`teaclave/teaclave-java-tee-sdk:v0.1.0-ubuntu18.04`是如何构建的?我使用了`ghcr.io/graalvm/native-image:ol8-java11-22`镜像,里边包含graalvm22-ce-java11和native-image,使用`mvn -Pnative clean package`命令编译helloworld项目时无法成功,我只想试验MOCK_IN_JVM模式,编译时还缺少什么其他必要组件吗?编译时报错内容如下,使用本项目提供的docker镜像编译相同代码的helloworld项目时没有这个错误:
How is the image `teaclave/teaclave-java-tee-sdk:v0.1.0-ubuntu18.04` built? I used the `ghcr.io/graalvm/native-image:ol8-java11-22` image, which contains graalvm22-ce-java11 and native-image, and when I use the `mvn -Pnative clean package` command to compile the helloworld project it does not I just want to test the MOCK_IN_JVM mode, is there any other necessary component missing when compiling? The compile time error is as follows. This error is not present when compiling a helloworld project with the same code using the docker image provided with this project:
![image](https://github.com/apache/incubator-teaclave-java-tee-sdk/assets/64568730/e43c2fcb-06dc-4c5e-b686-b320a712da84)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the provided teaclave/teaclave-java-tee-sdk:v0.1.0-ubuntu18.04 image with ghcr.io/graalvm/native-image:ol8-java11-22, then run mvn -Pnative clean package for the helloworld project in both environments. Check which build components differ and whether MOCK_IN_JVM requires them; done means documenting the image build steps and the missing dependency or configuration that explains the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
build-system, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.