Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

docker image environment

未關閉
#29 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
docker, java

研究方向

首先比較提供的 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 內容生成。

描述

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

主要語言
Java
星號
67
分支
21
PR 合併指標
30 天內沒有已合併 PR

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

apache/teaclave-java-tee-sdk 的其他 Issue

查看 apache/teaclave-java-tee-sdk 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。