-
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.
feat(base-devcontainer): add base devcontainer
- Loading branch information
Showing
6 changed files
with
145 additions
and
1 deletion.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
devcontainer-images/base-devcontainer/.devcontainer/devcontainer.json
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,35 @@ | ||
{ | ||
"image": "debian:bookworm-slim", | ||
"remoteUser": "vscode", | ||
"features": { | ||
"ghcr.io/devcontainers/features/common-utils:2": { | ||
"installZsh": "true", | ||
"installOhMyZsh": "true", | ||
"configureZshAsDefaultShell": true, | ||
"installOhMyZshConfig": true, | ||
"username": "vscode", | ||
"userUid": "1000", | ||
"userGid": "1000", | ||
"upgradePackages": "true" | ||
}, | ||
"ghcr.io/devcontainers/features/git:1": {}, | ||
"ghcr.io/devcontainers/features/git-lfs:1": { | ||
"autoPull": true | ||
}, | ||
"ghcr.io/ebizbase/devcontainer-features/omz-plugin:1.0.0": { | ||
"preInstalledPlugins": [ | ||
"git", | ||
"git-auto-fetch" | ||
], | ||
"customPlugins": [ | ||
"zsh-syntax-highlighting:https://github.com/zsh-users/zsh-syntax-highlighting.git", | ||
"you-should-use:https://github.com/MichaelAquilina/zsh-you-should-use.git", | ||
"zsh-autosuggestions:https://github.com/zsh-users/zsh-autosuggestions/archive/refs/tags/v0.7.1.zip" | ||
], | ||
"deleteInactive": true | ||
}, | ||
"ghcr.io/ebizbase/devcontainer-features/powerlevel10k:1.0.0": { | ||
"deletePreinstalledThemes": true | ||
} | ||
} | ||
} |
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,57 @@ | ||
# Changelog | ||
|
||
## [0.0.8](https://github.com/ebizbase/dev-infras/compare/[email protected]@0.0.8) (2024-11-19) | ||
|
||
|
||
### Features | ||
|
||
* **base-devcontainer:** update powerlevel10k to version 0.0.4 ([9c9c5bb](https://github.com/ebizbase/dev-infras/commit/9c9c5bb3e772afdafcb544d3ce72916886cd79c4)) | ||
|
||
## [0.0.7](https://github.com/ebizbase/dev-infras/compare/[email protected]@0.0.7) (2024-11-18) | ||
|
||
|
||
### Features | ||
|
||
* **base-devcontainer:** update omz-plugin version 0.1.0 ([0c16cda](https://github.com/ebizbase/dev-infras/commit/0c16cda93f891f1b5b79f4d4146412a697aeff6c)) | ||
|
||
## [0.0.6](https://github.com/ebizbase/dev-infras/compare/[email protected]@0.0.6) (2024-11-18) | ||
|
||
|
||
### Features | ||
|
||
* **base-devcontainer:** add use should use zsh plugin ([febb17a](https://github.com/ebizbase/dev-infras/commit/febb17aa283ff91278c8de25fe649ed28495ff1e)) | ||
|
||
## [0.0.5](https://github.com/ebizbase/dev-infras/compare/[email protected]@0.0.5) (2024-11-18) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* zsh-syntax-highlighting delete all github release ([964784e](https://github.com/ebizbase/dev-infras/commit/964784eb888ba6d81fc2af2212d8aedf13dd96c8)) | ||
|
||
## [0.0.4](https://github.com/ebizbase/dev-infras/compare/[email protected]@0.0.4) (2024-11-17) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **base-devcontainer:** update omz-plugins to 0.0.3 version ([2b2c11a](https://github.com/ebizbase/dev-infras/commit/2b2c11a40c6d371aca60c448c7ad75d2409fec27)) | ||
|
||
## [0.0.3](https://github.com/ebizbase/dev-infras/compare/[email protected]@0.0.3) (2024-11-17) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **base-devcontainer:** update omz-plugins depencies ([7e76db2](https://github.com/ebizbase/dev-infras/commit/7e76db267f17ea3262dec32224268071a6484470)) | ||
|
||
## [0.0.2](https://github.com/ebizbase/dev-infras/compare/[email protected]@0.0.2) (2024-11-17) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **base-devcontainer:** wrong omz-plugin option name ([f4c02ea](https://github.com/ebizbase/dev-infras/commit/f4c02ea015f6153167be2d2cd2b3a0c9b3b33817)) | ||
|
||
## 0.0.1 (2024-11-17) | ||
|
||
|
||
### Features | ||
|
||
* **base-devcontainer:** add base devcontainer image ([ac81a79](https://github.com/ebizbase/dev-infras/commit/ac81a79c3d1734ba582113803ad1bd37e8c6f72b)) |
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,3 @@ | ||
# Base Devcontainer | ||
|
||
The `base-devcontainer` is a prebuild devcontainer image base on debian with common-utils and provide good experiences interacting with the zsh shell |
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,45 @@ | ||
{ | ||
"name": "base-devcontainer", | ||
"$schema": "../../node_modules/nx/schemas/project-schema.json", | ||
"sourceRoot": "devcontainer-images/base-devcontainer", | ||
"projectType": "application", | ||
"tags": [], | ||
"metadata": { | ||
"$schema": "../../nx-plugins/nx-devcontainer/metadata.schema.json", | ||
"version": "0.0.0", | ||
"registries": ["docker.io", "ghcr.io"], | ||
"namespace": "ebizbase/base-devcontainer", | ||
"labels": { | ||
"org.opencontainers.image.source": "https://github.com/ebizbase/dev-infras", | ||
"org.opencontainers.image.description": "Base devcontainer image for ebizbase", | ||
"org.opencontainers.image.licenses": "MIT" | ||
} | ||
}, | ||
"targets": { | ||
"build": { | ||
"executor": "@ebizbase/nx-internal:build-devcontainer-image", | ||
"options": { | ||
"tags": ["edge"] | ||
} | ||
}, | ||
"test": { | ||
"dependsOn": ["build"], | ||
"executor": "nx:run-commands", | ||
"options": { | ||
"commands": [ | ||
"docker run --rm ebizbase/base-devcontainer:edge zsh --version", | ||
"docker run --rm ebizbase/base-devcontainer:edge git --version", | ||
"docker run --rm ebizbase/base-devcontainer:edge git lfs --version" | ||
], | ||
"parallel": false | ||
} | ||
}, | ||
"publish": { | ||
"executor": "@ebizbase/nx-internal:build-devcontainer-image", | ||
"options": { | ||
"push": true, | ||
"tags": ["latest", "{major}", "{major}.{minor}", "{major}.{minor}.{patch}"] | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -46,6 +46,9 @@ | |
"jsonpath": "$.version" | ||
} | ||
] | ||
}, | ||
"devcontainer-images/base-devcontainer": { | ||
"release-type": "simple" | ||
} | ||
} | ||
} |
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