added decompiler dependencies to devcontainer

This commit is contained in:
Ferdinand Keller 2024-08-02 09:13:09 +00:00
parent 4c628bba77
commit 55d795acb5
No known key found for this signature in database

View File

@ -2,7 +2,20 @@
"name": "Pumpkin", "name": "Pumpkin",
"image": "mcr.microsoft.com/devcontainers/base:noble", "image": "mcr.microsoft.com/devcontainers/base:noble",
"features": { "features": {
"ghcr.io/devcontainers/features/rust:1": {} // rust is needed for compiling the server's code
"ghcr.io/devcontainers/features/rust:1": {},
// java is needed for decompiling Mojang's server jar
"ghcr.io/devcontainers/features/java:1": {
"version": "17",
"jdkDistro": "oracle",
"installMaven": true,
"mavenVersion": "latest"
},
// python is needed for decompiling Mojang's server jar
"ghcr.io/devcontainers/features/python:1": {
"installTools": true,
"version": "3.12"
}
}, },
"mounts": [ "mounts": [
// mount SSH config & public keys from host to enable SSH-based Git remotes // mount SSH config & public keys from host to enable SSH-based Git remotes
@ -15,7 +28,8 @@
"vscode": { "vscode": {
"extensions": [ "extensions": [
"eamodio.gitlens", "eamodio.gitlens",
"Swellaby.rust-pack" "Swellaby.rust-pack",
"vscjava.vscode-java-pack"
] ]
} }
} }