Skip to content

Commit

Permalink
chore: update devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgrv committed Jul 1, 2024
1 parent 57762d4 commit c5f7a5b
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 39 deletions.
76 changes: 63 additions & 13 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,74 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
// README at: https://github.com/devcontainers/templates/tree/main/src/alpine
{
"name": "Ubuntu",
"name": "Devutils",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:jammy",
// Features to add to the dev container. More info: https://containers.dev/features.
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/devcontainers/features/node": "lts",
"ghcr.io/devcontainers/features/dotnet": "lts",
"ghcr.io/devcontainers/features/php": "lts",
"ghcr.io/devcontainers/features/docker-in-docker:2": "lts"
"ghcr.io/devcontainers/features/node:1": {},
"ghcr.io/tomgrv/devcontainer-features/gitutils": {},
"ghcr.io/tomgrv/devcontainer-features/gitversion": "5.*",
"ghcr.io/tomgrv/devcontainer-features/githooks": {},
"ghcr.io/tomgrv/devcontainer-features/act": "master"
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "sh .devcontainer/install.sh",
// "postCreateCommand": "uname -a",
// Configure tool-specific properties.
// "customizations": {},
"customizations": {
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"todo-tree.general.tags": [
"BUG",
"HACK",
"FIXME",
"TODO",
"XXX",
"[ ]",
"[x]",
"NOTE"
],
"conventionalCommits.gitmoji": false,
"explorer.excludeGitIgnore": true
},
"extensions": [
"github.copilot",
"vivaxy.vscode-conventional-commits",
"actboy168.tasks",
"spmeesseman.vscode-taskexplorer",
"gruntfuggly.triggertaskonsave",
"entexa.tall-stack",
"github.codespaces",
"natizyskunk.sftp",
"formulahendry.auto-rename-tag",
"formulahendry.auto-close-tag",
"absszero.vscode-laravel-goto",
"marabesi.php-import-checker",
"alexcvzz.vscode-sqlite",
"bmewburn.vscode-intelephense-client",
"gruntfuggly.todo-tree",
"onecentlin.laravel-blade",
"github.copilot",
"github.copilot-chat",
"dotenv.dotenv-vscode",
"donjayamanne.githistory",
"xdebug.php-debug",
"tomblind.scm-buttons-vscode",
"misterj.laravel-expack",
"devsense.composer-php-vscode",
"mhutchie.git-graph",
"christian-kohler.npm-intellisense",
"davidanson.vscode-markdownlint",
"github.vscode-github-actions",
"pcbowers.alpine-intellisense",
"softwareape.rebaser"
]
},
}
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
// Update the template version to pick up the latest changes to the template.
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}"
}
}
12 changes: 0 additions & 12 deletions .devcontainer/install.sh

This file was deleted.

22 changes: 8 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,23 @@ _ide_helper.php
Homestead.json
Homestead.yaml

## Diff
.rej
.orig

## Build
bin
obj

## Misc
.history
.version.json

## Diff
.rej
.orig
.gitattributes
.vscode/tasks.json
.vscode/settings.json
.vscode/launch.json
.vscode/extensions.json
.vscode
.husky
node_modules/@tomgrv\devutils\stub\.gitattributes
node_modules/@tomgrv\devutils\stub\.vscode\tasks.json
node_modules/@tomgrv\devutils\stub\.vscode\settings.json
node_modules/@tomgrv\devutils\stub\.vscode\launch.json
node_modules/@tomgrv\devutils\stub\.vscode\extensions.json
.vscode/tasks.json
.vscode/settings.json
.vscode/launch.json
.vscode/extensions.json
/.vscode
/.husky
/.gitutils
Expand Down

0 comments on commit c5f7a5b

Please sign in to comment.