diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 00000000..6e6c4d36 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,8 @@ +# Base image +FROM node:14.11.0-alpine + +# Install Git +RUN apk add --no-cache git + +# Install OpenSSH +RUN apk add --no-cache openssh diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..42b516fe --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,33 @@ +{ + "name": "@sequeljs/ast", + "build": { + "context": "..", + "dockerfile": "Dockerfile" + }, + "extensions": [ + "christian-kohler.npm-intellisense", + "christian-kohler.path-intellisense", + "dbaeumer.vscode-eslint", + "eamodio.gitlens", + "editorconfig.editorconfig", + "eg2.vscode-npm-script", + "esbenp.prettier-vscode", + "hbenl.vscode-test-explorer", + "kavod-io.vscode-jest-test-adapter", + "pflannery.vscode-versionlens", + "redhat.vscode-yaml", + "tyriar.sort-lines", + "visualstudioexptteam.vscodeintellicode", + "xyz.local-history" + ], + "mounts": [ + "source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/node/.ssh,type=bind" + ], + "postCreateCommand": "npm install --prefix /workspace", + "remoteUser": "node", + "settings": { + "terminal.integrated.shell.linux": "/bin/ash" + }, + "workspaceFolder": "/workspace", + "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached" +} diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 88323e4f..2e0169e7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -10,3 +10,8 @@ updates: directory: / schedule: interval: weekly + + - package-ecosystem: docker + directory: /.devcontainer/ + schedule: + interval: weekly