Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add devcontainer #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eashi
Copy link

@eashi eashi commented May 24, 2024

This pull request introduces changes to support a development environment for a Java project using Docker and Visual Studio Code. The most important changes include the addition of a Dockerfile to define the Docker environment, a devcontainer.json file to configure the Visual Studio Code development container, and a launch.json file to set up debugging configurations for the Java project.

Docker environment setup:

  • .devcontainer/Dockerfile: A Dockerfile was added that uses the maven:3.6.3-jdk-11 image as a base. This means the development environment will have Maven and JDK 11 pre-installed.

Visual Studio Code development container configuration:

  • .devcontainer/devcontainer.json: A devcontainer.json file was added to configure the Visual Studio Code development container. This file specifies the Dockerfile to use for the container, sets the terminal shell to bash, includes the Java extension pack for Visual Studio Code, and defines a post creation command to clean and package the Maven project.

Java project debugging setup:

  • .vscode/launch.json: A launch.json file was added to set up different debugging configurations for the Java project. This file includes configurations for running and debugging different main classes in the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant