Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This devcontainer configuration is designed to optimize the development environm
## What's Included

- **Java 17 (Temurin)**: Pre-installed Java Development Kit
- **Gradle 8.11.1**: Pre-installed build tool matching project requirements
- **Gradle Wrapper**: Uses project's gradle wrapper for build consistency
- **Docker in Docker**: For containerized smoke tests
- **VS Code Extensions**: Java development extensions

Expand All @@ -24,4 +24,4 @@ This devcontainer is automatically used by GitHub Copilot agents when working on

## Validation

Run `.github/scripts/validate-devcontainer.sh` to verify the setup is working correctly.
Run `.devcontainer/validate-devcontainer.sh` to verify the setup is working correctly.
5 changes: 4 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@
}
},
"containerEnv": {
"GRADLE_OPTS": "-Dorg.gradle.daemon=true -Dorg.gradle.parallel=true -Dorg.gradle.caching=true -XX:MaxMetaspaceSize=512m"
"GRADLE_OPTS": "-Dorg.gradle.daemon=true"
},
"mounts": [
"source=gradle-cache,target=/home/vscode/.gradle,type=volume"
],
"postCreateCommand": "bash .devcontainer/setup-devcontainer.sh",
"remoteUser": "vscode",
"// comment": "This devcontainer pre-installs Java 17 and Docker-in-Docker. The remoteUser sets the default user for the container. The setup script builds the project to pre-download dependencies and populate the build cache, reducing initial build time for Copilot agents from 5+ minutes to under 1 minute"
Expand Down