version: '3'

services:
  buildtools:
    image: ghcr.io/electron/devcontainer:9a43c14f5c19be0359843299f79e736521373adc

    volumes:
      - ..:/workspaces/gclient/src/electron:cached

      - /var/run/docker.sock:/var/run/docker.sock

    command: /bin/sh -c "while sleep 1000; do :; done"

    user: builduser

    cap_add:
      - SYS_PTRACE
    security_opt:
      - seccomp:unconfined
