This project will build a Google Chrome AppImage using Docker

Nicole Portas ba2ccd5a12 Initial release 3 nedēļas atpakaļ
README.md ba2ccd5a12 Initial release 3 nedēļas atpakaļ
build_chrome_appimage.sh ba2ccd5a12 Initial release 3 nedēļas atpakaļ

README.md

Chrome AppImage Builder (Dockerized)

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.

The Problem

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.

The Solution

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.


Prerequisites

  • 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.

How to use it

  1. Clone the Repo (or just save the script).

  2. Run the Builder:

    Bash

    chmod +x make_chrome_appimage.sh
    ./make_chrome_appimage.sh
        
    
  3. Launch Chrome: The finished file will be in the /out directory.

    Bash

    chmod +x out/Google_Chrome-*.AppImage
    ./out/Google_Chrome-*.AppImage
        
    

Included Tweaks

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.