LogoCua Documentation

Building Lumier

If you want to customize the Lumier container or build it from source, you can follow these steps:

# 1. Navigate to the Lumier directory
cd libs/lumier

# 2. Build the Docker image locally
docker build -t lumier-custom:latest .

# 3. Run your custom build
docker run -it --rm \
    --name lumier-vm \
    -p 8006:8006 \
    -e VM_NAME=lumier-vm \
    -e VERSION=ghcr.io/trycua/macos-sequoia-cua:latest \
    -e CPU_CORES=4 \
    -e RAM_SIZE=8192 \
    lumier-custom:latest

Customization Options

The Dockerfile provides several customization points:

  1. Base image: The container uses Debian Bullseye Slim as the base. You can modify this if needed.
  2. Installed packages: You can add or remove packages in the apt-get install list.
  3. Hooks: Check the /run/hooks/ directory for scripts that run at specific points during VM lifecycle.
  4. Configuration: Review /run/config/constants.sh for default settings.

After making your modifications, you can build and push your custom image to your own Docker Hub repository:

# Build with a custom tag
docker build -t yourusername/lumier:custom .

# Push to Docker Hub (after docker login)
docker push yourusername/lumier:custom