#!/bin/sh -x# It will be run with two args: buildroot specBUILDROOT="$1"SPEC="$2".$(dirname$0)/common.shadd_electron_depsfix_chrome_sandbox# conflicts with docker-buildxremove_file /usr/lib/docker/cli-plugins/docker-buildxadd_requires /usr/bin/dockerln-s usr/bin/docker usr/local/bin/com.docker.clipack_file /usr/local/bin/com.docker.cliadd_bin_link_command $PRODUCT /opt/docker-desktop/bin/docker-desktopadd_bin_link_command docker-index /opt/docker-desktop/bin/docker-index#echo 'Enabling use of privileged ports by Docker Desktop'#setcap cap_net_bind_service,cap_sys_resource=+ep /opt/docker-desktop/bin/com.docker.backend || echo 'Error: Docker Desktop will not be able to bind to privileged ports'#systemctl start --user docker-desktop