mirror of
https://github.com/fscotto/infra.git
synced 2026-11-26 13:49:52 +00:00
Remove mise from WSL and tidy devcontainer tooling
- Drop mise installation, COPR repository, pinned tool checks and dotfiles from the Fedora WSL profile; keep the Maven pin for the devcontainers as workstation_maven_version. - Remove the Claude Code and Cline VS Code extensions from the devcontainer definitions; the CLIs and their mounts remain. - Add the cdp and ecaas devcontainer definitions and their docs. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"args": {
|
||||
"MAVEN_VERSION": {{ workstation_mise_maven_version | to_json }}
|
||||
"MAVEN_VERSION": {{ workstation_maven_version | to_json }}
|
||||
}
|
||||
},
|
||||
"remoteUser": "vscode",
|
||||
@@ -11,14 +11,24 @@
|
||||
"containerEnv": {
|
||||
"CLAUDE_CONFIG_DIR": "/home/vscode/.claude"
|
||||
},
|
||||
"remoteEnv": {
|
||||
"ANTHROPIC_AUTH_TOKEN": "${localEnv:ANTHROPIC_AUTH_TOKEN}"
|
||||
},
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
|
||||
"moby": false
|
||||
}
|
||||
},
|
||||
"mounts": [
|
||||
{{ ('type=bind,source=' ~ ecaas_agent_state ~ '/git,target=/run/ecaas-git,readonly') | to_json }},
|
||||
{% for ca in ecaas_git_available_cas %}
|
||||
{{ ('type=bind,source=' ~ user_home ~ '/.local/share/certs/' ~ ca.certificate ~ ',target=/run/ecaas-git-ca/' ~ ca.certificate ~ ',readonly') | to_json }},
|
||||
{% endfor %}
|
||||
{{ ('type=bind,source=' ~ ecaas_agent_state ~ '/ai,target=/home/vscode/.config/ai,readonly') | to_json }},
|
||||
{{ ('type=bind,source=' ~ ecaas_agent_state ~ '/claude,target=/home/vscode/.claude') | to_json }},
|
||||
{{ ('type=bind,source=' ~ ecaas_agent_state ~ '/cline,target=/home/vscode/.cline') | to_json }}
|
||||
{{ ('type=bind,source=' ~ user_home ~ '/.config/ai,target=/home/vscode/.config/ai,readonly') | to_json }},
|
||||
{{ ('type=bind,source=' ~ user_home ~ '/.claude,target=/home/vscode/.claude') | to_json }},
|
||||
{{ ('type=bind,source=' ~ user_home ~ '/.cline,target=/home/vscode/.cline') | to_json }},
|
||||
{{ ('type=bind,source=' ~ user_home ~ '/.m2,target=/home/vscode/.m2') | to_json }},
|
||||
{{ ('type=bind,source=' ~ user_home ~ '/.config/glab-cli,target=/home/vscode/.config/glab-cli') | to_json }}
|
||||
],
|
||||
"forwardPorts": [8080],
|
||||
"customizations": {
|
||||
@@ -28,10 +38,10 @@
|
||||
"vmware.vscode-boot-dev-pack",
|
||||
"redhat.vscode-xml",
|
||||
"redhat.vscode-yaml",
|
||||
"anthropic.claude-code",
|
||||
"saoudrizwan.claude-dev"
|
||||
"emmanuelbeziat.vscode-great-icons"
|
||||
],
|
||||
"settings": {
|
||||
"workbench.iconTheme": "vscode-great-icons",
|
||||
"java.jdt.ls.java.home": "/opt/jdk-21",
|
||||
"spring-boot.ls.java.home": "/opt/jdk-21",
|
||||
"java.configuration.runtimes": [
|
||||
|
||||
Reference in New Issue
Block a user