First pass at vscode
This commit is contained in:
parent
dbf24f70c2
commit
0cfe0a5b39
|
@ -0,0 +1,4 @@
|
||||||
|
FROM swift:5.10-noble
|
||||||
|
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install -y libadwaita-1.0 libadwaita-1-dev
|
|
@ -0,0 +1,44 @@
|
||||||
|
{
|
||||||
|
"name": "Swift",
|
||||||
|
"build": {
|
||||||
|
"dockerfile": "Dockerfile"
|
||||||
|
},
|
||||||
|
"features": {
|
||||||
|
"ghcr.io/devcontainers/features/common-utils:2": {
|
||||||
|
"installZsh": "false",
|
||||||
|
"username": "vscode",
|
||||||
|
"userUid": "1000",
|
||||||
|
"userGid": "1000",
|
||||||
|
"upgradePackages": "false"
|
||||||
|
},
|
||||||
|
"ghcr.io/devcontainers/features/git:1": {
|
||||||
|
"version": "os-provided",
|
||||||
|
"ppa": "false"
|
||||||
|
},
|
||||||
|
"ghcr.io/devcontainers-contrib/features/curl-apt-get:1": {}
|
||||||
|
},
|
||||||
|
"runArgs": [
|
||||||
|
"--cap-add=SYS_PTRACE",
|
||||||
|
"--security-opt",
|
||||||
|
"seccomp=unconfined"
|
||||||
|
],
|
||||||
|
// Configure tool-specific properties.
|
||||||
|
"customizations": {
|
||||||
|
// Configure properties specific to VS Code.
|
||||||
|
"vscode": {
|
||||||
|
// Set *default* container specific settings.json values on container create.
|
||||||
|
"settings": {
|
||||||
|
"lldb.library": "/usr/lib/liblldb.so"
|
||||||
|
},
|
||||||
|
// Add the IDs of extensions you want installed when the container is created.
|
||||||
|
"extensions": [
|
||||||
|
"sswg.swift-lang"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
|
// "forwardPorts": [],
|
||||||
|
|
||||||
|
// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
||||||
|
"remoteUser": "vscode"
|
||||||
|
}
|
|
@ -1,5 +1,6 @@
|
||||||
.DS_Store
|
.DS_Store
|
||||||
/.build
|
/.build
|
||||||
|
/.flatpak
|
||||||
/.flatpak-builder
|
/.flatpak-builder
|
||||||
/build-dir
|
/build-dir
|
||||||
/run
|
/run
|
||||||
|
|
Loading…
Reference in New Issue