forked from Cookies_Github_mirror/AquaDX
[+] Add Dockerfile and devcontainer configuration for AquaDX development environment
This commit is contained in:
20
.devcontainer/Dockerfile
Normal file
20
.devcontainer/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
FROM gradle:8.8.0-jdk21
|
||||||
|
|
||||||
|
ENV NODE_VERSION=22
|
||||||
|
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install -y curl && \
|
||||||
|
curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - && \
|
||||||
|
apt-get install -y nodejs && \
|
||||||
|
npm install -g npm@latest
|
||||||
|
|
||||||
|
RUN npm install -g bun
|
||||||
|
|
||||||
|
RUN apt-get install -y maven
|
||||||
|
|
||||||
|
RUN gradle --version && \
|
||||||
|
node --version && \
|
||||||
|
npm --version && \
|
||||||
|
bun --version
|
||||||
|
|
||||||
|
WORKDIR /workspace
|
||||||
17
.devcontainer/devcontainer.json
Normal file
17
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"name": "AquaDX Dev Container",
|
||||||
|
"build": {
|
||||||
|
"dockerfile": "Dockerfile"
|
||||||
|
},
|
||||||
|
"customizations": {
|
||||||
|
"vscode": {
|
||||||
|
"extensions": [
|
||||||
|
"vscjava.vscode-gradle",
|
||||||
|
"vscjava.vscode-java-pack",
|
||||||
|
"dbaeumer.vscode-eslint",
|
||||||
|
"esbenp.prettier-vscode",
|
||||||
|
"fwcd.kotlin"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user