How to develop an addon for Home Assistant Green

I’m following the instructions for developing my own addon, which I want to test and run on Home Assistant Green.

I copied my addon files to the device in /addons as instructed. (presumably bare addon folders go there, not the repo folder with the addon in it)

However, I can’t seem to get past this step:

➜  ~ cd /addons                           
➜  /addons docker run \ 
  --rm \
  -it \
  --name builder \
  --privileged \
  -v ./pandora:/data \
  -v /var/run/docker.sock:/var/run/docker.sock:ro \
  homeassistant/aarch64-builder \
  -t /data \
  --all \
  --test \
  -i my-test-addon-{arch} \
  -d local
docker: Error response from daemon: error while creating mount source path '/addons/pandora': mkdir /addons: read-only file system.

The docs don’t say much about that command or how to customize it.

Looks like there’s a read-only filesystem at play somewhere… but I know it’s not /addons because I can create files there.

So for a different approach I tried installing my starter repo as an addon repository on my device. That worked! But when I try to install the addon, I get a timeout error.

2024-02-23 23:49:27.910 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons/local_pandora/install - Head "https://ghcr.io/v2/home-assistant/aarch64-base/manifests/3.15": Get "https://ghcr.io/token?scope=repository%3Ahome-assistant%2Faarch64-base%3Apull&service=ghcr.io": dial tcp 140.82.112.34:443: i/o timeout

My local computer is amd64 and not Arm so I want to develop for the Green specifically, making use of the audio system.

Thanks in advance for any pointers!

Update: I realized I needed to comment out the image: line in my addon config. Then the addon repo install worked.