mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-19 17:16:48 +00:00
Reworked the devcontainer to bring in more tools and up to standards
This commit is contained in:
parent
bb1ea9dcf3
commit
c405d8ca5f
3 changed files with 46 additions and 6 deletions
17
.devcontainer/Dockerfile
Normal file
17
.devcontainer/Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Use the official TypeScript Node.js image as a base
|
||||
FROM mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm
|
||||
|
||||
# Install additional features
|
||||
RUN apt-get update && apt-get install -y \
|
||||
awscli \
|
||||
curl \
|
||||
exa \
|
||||
jq \
|
||||
fzf \
|
||||
locate \
|
||||
manpages \
|
||||
ripgrep \
|
||||
shellcheck \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV SHELL /bin/zsh
|
|
@ -1,18 +1,31 @@
|
|||
{
|
||||
"name": "Node.js & TypeScript",
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
|
||||
"dockerComposeFile": "docker-compose.yml",
|
||||
"service": "ai-code-reviewer",
|
||||
"workspaceFolder": "/workspace",
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/aws-cli:1": {},
|
||||
"ghcr.io/eitsupi/devcontainer-features/jq-likes:2": {},
|
||||
"ghcr.io/dhoeric/features/act:1": {}
|
||||
// "ghcr.io/guiyomh/features/just:0": {},
|
||||
// "ghcr.io/jungaretti/features/ripgrep:1": {},
|
||||
// "ghcr.io/lukewiwa/features/shellcheck:0": {},
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": ["yzhang.markdown-all-in-one"]
|
||||
"extensions": [
|
||||
"eamodio.gitlens",
|
||||
"fill-labs.dependi",
|
||||
"GitHub.copilot",
|
||||
"github.copilot-chat",
|
||||
"github.vscode-pull-request-github",
|
||||
"kaiwood.center-editor-window",
|
||||
"ms-azuretools.vscode-docker",
|
||||
"ms-vsliveshare.vsliveshare",
|
||||
"timonwong.shellcheck",
|
||||
"usernamehw.errorlens",
|
||||
"visualstudioexptteam.vscodeintellicode",
|
||||
"wenfangdu.jump",
|
||||
"yzhang.markdown-all-in-one"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
10
.devcontainer/docker-compose.yml
Normal file
10
.devcontainer/docker-compose.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
ai-code-reviewer:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ..:/workspace
|
||||
command: sleep infinity
|
Loading…
Add table
Add a link
Reference in a new issue