mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-24 08:38:40 -07:00
51 lines
1.2 KiB
JSON
51 lines
1.2 KiB
JSON
{
|
|
"name": "OrcaSlicer",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"args": {
|
|
"PLATFORM": "linux/amd64",
|
|
"BASE_IMAGE": "mcr.microsoft.com/devcontainers/cpp:ubuntu-22.04"
|
|
},
|
|
"options": ["--platform=linux/amd64"]
|
|
},
|
|
"runArgs": ["--platform=linux/amd64"],
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/desktop-lite:1": {
|
|
"password": "orca"
|
|
}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {
|
|
"cmake.configureArgs": [
|
|
"-DSLIC3R_GTK=3",
|
|
"-DBBL_RELEASE_TO_PUBLIC=1",
|
|
"-DBBL_INTERNAL_TESTING=0",
|
|
"-DSLIC3R_STATIC=1",
|
|
"-DCMAKE_PREFIX_PATH=${workspaceFolder}/deps/build/destdir/usr/local"
|
|
]
|
|
},
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"ms-vscode.cmake-tools",
|
|
"ms-vscode.cpptools-extension-pack"
|
|
]
|
|
}
|
|
},
|
|
|
|
"forwardPorts": [6080],
|
|
"portsAttributes": {
|
|
"6080": {
|
|
"label": "VNC web client (noVNC)",
|
|
"onAutoForward": "silent"
|
|
}
|
|
},
|
|
"otherPortsAttributes": {
|
|
"onAutoForward": "ignore"
|
|
},
|
|
"onCreateCommand": {
|
|
"Set postCreate executable flag": "chmod +x .devcontainer/postCreate.sh"
|
|
},
|
|
"postCreateCommand": "sudo .devcontainer/postCreate.sh"
|
|
}
|