henrybear327 commented on code in PR #10075:
URL: https://github.com/apache/ozone/pull/10075#discussion_r3175321627
##########
.devcontainer/devcontainer.json:
##########
@@ -0,0 +1,29 @@
+{
+ "name": "Apache Ozone (Java 21)",
+ "image": "mcr.microsoft.com/devcontainers/java:21-bookworm",
+ "features": {
+ "ghcr.io/devcontainers/features/java:1": {
+ "version": "none",
+ "installMaven": "true"
+ },
+ "ghcr.io/devcontainers/features/node:1": {
+ "version": "20"
+ },
+ "ghcr.io/devcontainers/features/docker-in-docker:2": {},
+ "ghcr.io/devcontainers/features/github-cli:1": {},
+ },
+ "postCreateCommand": "hadoop-ozone/dev-support/checks/build.sh -Pdist -Psrc
-Dmaven.javadoc.skip=true",
Review Comment:
As you can see, if you launch a new codespace from this branch, it will take
several minutes to build and start the container
<img width="1480" height="802" alt="Screenshot 2026-05-01 at 11 35 51 PM"
src="https://github.com/user-attachments/assets/0245ab13-d49a-4a2f-9f12-e6f9055e2f04"
/>
Once the container is started, you can then start coding. In the meantime,
the `postCreateCommand` compiling ozone will be run in the background.
<img width="1470" height="956" alt="Screenshot 2026-05-01 at 11 38 11 PM"
src="https://github.com/user-attachments/assets/b044dac7-9be0-4dd4-bd62-fbc2d87ef9e6"
/>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]