Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"id": "chrome",
"id": "chromium",
"version": "1.0.0",
"name": "Chrome",
"description": "Install Google Chrome web browser.",
"name": "Chromium",
"description": "Install Chromium web browser.",
"installsAfter": [
"ghcr.io/devcontainers/features/common-utils",
"ghcr.io/devcontainers/features/git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,7 @@ check_packages() {
fi
}

install_chrome() {
local arch="$1"
check_packages curl gnupg
curl -fSsL https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor | tee /usr/share/keyrings/google-chrome.gpg >>/dev/null
echo deb [arch=${arch} signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main | tee /etc/apt/sources.list.d/google-chrome.list
check_packages google-chrome-stable
}

install_chrome ${arch}
check_packages chromium-browser

apt-get clean && rm -rf /var/lib/apt/lists/*

Expand Down
2 changes: 1 addition & 1 deletion .github/.devcontainer/decktape/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"installsAfter": [
"ghcr.io/devcontainers/features/common-utils",
"ghcr.io/devcontainers/features/git",
"./chrome"
"./chromium"
]
}
2 changes: 1 addition & 1 deletion .github/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"./uv": {
"version": "latest"
},
"./chrome": {},
"./chromium": {},
"./decktape": {
"node": "22"
},
Expand Down
Loading