Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
33 changes: 33 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -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"
}
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ updates:
directory: /
schedule:
interval: weekly

- package-ecosystem: docker
directory: /.devcontainer/
schedule:
interval: weekly