From 56fe553870d13a682d007667c22b57ccca6a05ac Mon Sep 17 00:00:00 2001 From: Porta Date: Mon, 10 Feb 2025 00:38:04 +1000 Subject: [PATCH] [+] Add Dockerfile and devcontainer configuration for AquaDX development environment --- .devcontainer/Dockerfile | 20 ++++++++++++++++++++ .devcontainer/devcontainer.json | 17 +++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .devcontainer/Dockerfile create mode 100644 .devcontainer/devcontainer.json 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