diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 00000000..a865656f --- /dev/null +++ b/.devcontainer/Dockerfile @@ -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 \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..c6d0abd0 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -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" + ] + } + } +} \ No newline at end of file