Created
          December 3, 2023 17:59 
        
      - 
      
- 
        Save nickdala/afad9f0cc27b33afc357483df0b9711a to your computer and use it in GitHub Desktop. 
    Dev container for Hilla
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              Show hidden characters
| // For format details, see https://aka.ms/devcontainer.json. For config options, see the | |
| // README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu | |
| { | |
| "name": "Ubuntu", | |
| // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | |
| "image": "mcr.microsoft.com/devcontainers/base:jammy", | |
| "remoteUser": "vscode", | |
| "containerEnv": { | |
| "M2": "/home/vscode" // Maven cache | |
| }, | |
| "features": { | |
| // https://containers.dev/features/ | |
| "ghcr.io/devcontainers/features/java:1": { | |
| "version": "17", | |
| "installMaven": "true", | |
| "installGradle": "true" | |
| }, | |
| "ghcr.io/devcontainers/features/node:1": {} | |
| }, | |
| "forwardPorts": [8080], | |
| "customizations": { | |
| "vscode": { | |
| "extensions": [ | |
| // Extension Pack for Java; includes language support, debugging, maven. | |
| "vscjava.vscode-java-pack", | |
| // Spring Boot Extension Pack | |
| "vmware.vscode-boot-dev-pack", | |
| // YAML language support | |
| "redhat.vscode-yaml", | |
| // EditorConfig | |
| "EditorConfig.EditorConfig" | |
| ] | |
| } | |
| }, | |
| "hostRequirements": { | |
| "cpus": 2 | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment