Skip to content

Commit

Permalink
Update: image
Browse files Browse the repository at this point in the history
  • Loading branch information
gvatsal60 committed Oct 14, 2024
1 parent c92a8be commit 5b54fba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"features": {
"ghcr.io/gvatsal60/dev-container-features/sonarlint": {}
},
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"image": "mcr.microsoft.com/devcontainers/base:noble",
"mounts": [
"source=${containerWorkspaceFolder}/snippets,target=${containerWorkspaceFolder}/.vscode,type=bind,consistency=cached,readonly"
],
Expand Down
8 changes: 7 additions & 1 deletion .devcontainer/postCreateScript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
##########################################################################################
# Constants
##########################################################################################
readonly ALIAS_SOURCE_URL="https://raw.githubusercontent.com/gvatsal60/Linux-Aliases/HEAD/install.sh"

##########################################################################################
# Functions
Expand All @@ -41,4 +42,9 @@

# Install Linux aliases from external script using curl and execute immediately
# Note: Make sure to review scripts fetched from external sources for security reasons
curl -fsSL https://raw.githubusercontent.com/gvatsal60/Linux-Aliases/HEAD/install.sh | sh
if command -v curl >/dev/null 2>&1; then
curl -fsSL ${ALIAS_SOURCE_URL} | sh
else
echo "Error: curl is not installed. Unable to use Linux aliases"
exit 1
fi

0 comments on commit 5b54fba

Please sign in to comment.