This repository provides a professional, isolated, and standardized development environment using Docker, WSL2, and VS Code Dev Containers.
By using this setup, you ensure that the entire development stack is identical across any machine (Windows, Linux, or macOS), eliminating the "it works on my machine" problem.
- Java: 17 (OpenJDK Bookworm)
- Node.js: 20.x
- Angular CLI: Latest Stable
- Base OS: Debian Bookworm (via Microsoft Dev Container Images)
- Pre-installed Extensions:
- Extension Pack for Java
- Angular Language Service
- Prettier
- Thunder Client (for API testing)
Before you begin, ensure you have the following installed:
- Docker Desktop (with WSL2 backend enabled for Windows users).
- Visual Studio Code.
- Dev Containers Extension (from Microsoft).
- Clone the repository:
git clone https://github.com/YOUR_USERNAME/java-angular-devcontainer.git
- Open the folder in VS Code.
- When prompted by the pop-up in the bottom right corner, click "Reopen in Container".
- Alternatively: Press
Ctrl+Shift+P, typeDev Containers: Rebuild and Reopen in Container.
- Alternatively: Press
- Wait for the container to build. Once finished, you will have a terminal ready with Java, Node, and Angular.
.devcontainer/Dockerfile: Instructions to build the environment.devcontainer.json: VS Code automation and tool configuration.
workspace/: (Optional) Your source code for Spring Boot and Angular projects.
The environment comes pre-configured with:
JAVA_OPTS: Optimized memory limits for JVM.NG_CLI_ANALYTICS: Disabled by default for better terminal experience.NODE_OPTIONS: Memory limits for large Angular builds.
Developed by Renata Freitas - [LinkedIn]