-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from dmascot/dev_container
add: devcontainer config
- Loading branch information
Showing
7 changed files
with
96 additions
and
683 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright (c) 2023 DMascot | ||
# | ||
# This software is released under the MIT License. | ||
# https://opensource.org/licenses/MIT | ||
|
||
FROM ubuntu:latest | ||
|
||
RUN apt-get update -y &&\ | ||
apt-get install -y fish zsh make git gettext &&\ | ||
git clone https://github.com/shellspec/shellspec.git /opt/shellspec &&\ | ||
cd /opt/shellspec && make install &&\ | ||
apt-get clean -y &&\ | ||
apt-get autoremove -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/* cSpell:disable */ | ||
{ | ||
"name": "tools-dev", | ||
"dockerFile": "Dockerfile", | ||
"runArgs": ["--hostname", "tools-dev"], | ||
"mounts": ["source=${localWorkspaceFolder},target=/vscode/tools,type=bind"], | ||
"workspaceFolder": "/vscode/tools", | ||
|
||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"streetsidesoftware.code-spell-checker", | ||
"fabiospampinato.vscode-diff", | ||
"ms-azuretools.vscode-docker", | ||
"codezombiech.gitignore", | ||
"eamodio.gitlens", | ||
"esbenp.prettier-vscode", | ||
"lextudio.restructuredtext", | ||
"timonwong.shellcheck", | ||
"ymotongpoo.licenser", | ||
"JustSxm.another-file-header", | ||
"psioniq.psi-header", | ||
"github.vscode-github-actions" | ||
], | ||
|
||
"settings": { | ||
//vscode settings | ||
"task.problemMatchers.neverPrompt": { | ||
"shell": true | ||
}, | ||
"breadcrumbs.enabled": false, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnPaste": false, | ||
"editor.formatOnSave": true, | ||
"editor.minimap.enabled": false, | ||
"editor.tabCompletion": "on", | ||
"files.exclude": { | ||
"**/.DS_Store": true, | ||
"**/.git": true, | ||
"**/Thumbs.db": true | ||
}, | ||
"files.trimTrailingWhitespace": true, | ||
"git.autofetch": true, | ||
|
||
//licenser settings | ||
"licenser.projectName": "Tools", | ||
"licenser.author": "DMascot", | ||
|
||
//spellcheck settings | ||
"cSpell.language": "en-GB", | ||
"cSpell.enabled": true, | ||
|
||
//docker file formatter | ||
"[dockerfile]": { | ||
"editor.defaultFormatter": "ms-azuretools.vscode-docker" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
name: docker-image | ||
|
||
on: | ||
schedule: | ||
- cron: "0 7 * * 0" | ||
pull_request: | ||
types: | ||
- closed | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.vscode/* | ||
.vscode/settings.json | ||
|
||
# Local History for Visual Studio Code | ||
.history/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "bash-test", | ||
"type": "shell", | ||
"command": "shellspec", | ||
"args": ["--shell", "/bin/bash", "--quiet"] | ||
}, | ||
{ | ||
"label": "zsh-test", | ||
"type": "shell", | ||
"command": "shellspec", | ||
"args": ["--shell", "/bin/zsh", "--quiet"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.