apache / apache/teaclave-java-tee-sdk

docker image environment

未关闭
#29 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
67
派生
21
PR 合并指标
30 天内没有已合并 PR

描述

镜像`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)

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先比较提供的 teaclave/teaclave-java-tee-sdk:v0.1.0-ubuntu18.04 镜像与 ghcr.io/graalvm/native-image:ol8-java11-22,然后在两个环境中为 helloworld 项目运行 mvn -Pnative clean package。检查哪些构建组件存在差异,以及 MOCK_IN_JVM 是否需要这些组件;完成的标准是记录镜像构建步骤,以及能够解释该错误的缺失依赖或配置。

由索引模型根据 Issue 内容生成。

评估

技术栈
docker, java
领域
build-system, devops
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。