Skip to content

Commit 58914b7

Browse files
committed
dev: add devcontainer
1 parent 8ffc89e commit 58914b7

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM mcr.microsoft.com/devcontainers/java:25
2+
3+
# Install Node.js LTS
4+
RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash - && \
5+
apt-get install -y nodejs && \
6+
rm -rf /var/lib/apt/lists/*
7+
RUN npm install -g ro-crate-html-js
8+
9+
# Verify installations
10+
RUN node --version && npm --version

.devcontainer/devcontainer.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"name": "Java (Gradle)",
3+
"build": {
4+
"dockerfile": "Dockerfile"
5+
},
6+
"customizations": {
7+
"zed": {
8+
"extensions": ["java"]
9+
}
10+
},
11+
"forwardPorts": [8080]
12+
}

0 commit comments

Comments
 (0)