mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-31 20:32:34 +00:00
36 lines
928 B
JSON
36 lines
928 B
JSON
{
|
|
"name": "Pumpkin",
|
|
"image": "mcr.microsoft.com/devcontainers/base:noble",
|
|
"features": {
|
|
// 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": "21",
|
|
"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.7"
|
|
}
|
|
},
|
|
"mounts": [
|
|
// mount SSH config & public keys from host to enable SSH-based Git remotes
|
|
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/vscode/.ssh,readonly,type=bind"
|
|
],
|
|
"forwardPorts": [
|
|
25565
|
|
],
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"eamodio.gitlens",
|
|
"Swellaby.rust-pack",
|
|
"vscjava.vscode-java-pack"
|
|
]
|
|
}
|
|
}
|
|
} |