This project will build a Google Chrome AppImage using Docker
|
|
3 nedēļas atpakaļ | |
|---|---|---|
| README.md | 3 nedēļas atpakaļ | |
| build_chrome_appimage.sh | 3 nedēļas atpakaļ |
A fully containerized build script that creates a self-contained, portable .AppImage for Google Chrome.
Following the "Nicole Method," this script uses Docker to isolate the build environment, ensuring your host system stays clean of Google’s dependencies, GPG keys, and repository bloat.
Installing Google Chrome on Linux usually involves adding third-party repositories, dealing with SUID sandbox issues, and having Google's update services linger in the background of your OS.
This script spins up a temporary Ubuntu container, fetches the latest official .deb from Google, relocates the binaries into a standard AppDir structure, and squashes it into a portable AppImage.
Zero Host Pollution: No Google repos or dependencies installed on your machine.
Banner-Free: Pre-configured with --test-type to suppress "unsupported flag" warnings.
Self-Contained: Includes the latest Chrome binaries and required library shims.
Portable: Move the single .AppImage file between distros and it just fucking works.
Docker: You need the Docker engine installed and your user added to the docker group.
FUSE: Required on your host to run the resulting AppImage.
Clone the Repo (or just save the script).
Run the Builder:
Bash
chmod +x make_chrome_appimage.sh
./make_chrome_appimage.sh
Launch Chrome: The finished file will be in the /out directory.
Bash
chmod +x out/Google_Chrome-*.AppImage
./out/Google_Chrome-*.AppImage
The AppRun script is pre-configured with the following flags to ensure a smooth "AppImage" experience:
--no-sandbox: Ensures compatibility with FUSE mounts and container environments.
--test-type: Suppresses the "unsupported command-line flag" notification.
--password-store=basic: Avoids hangs caused by system keyring mismatches.
--no-first-run: Skips the annoying "Welcome to Chrome" setup tabs.