OneKeyHQ/firmware-classic1s, the script build-docker.sh generates for the legacy firmware ends with cp bootloader/*.bin build/bootloader/bootloader.bin and cp intermediate_fw/*.bin build/intermediate_fw/inter.bin. Both globs match two files, so cp fails after the firmware is built, and the container (--rm, building in /tmp) is discarded with the firmware in it. The script also insists on docker run -it, under which poetry install stopped without a message in our run. We build the image with build-docker.sh --skip-core --skip-legacy unmodified, then run its legacy script line for line without -it and without the two cp lines. With that, the build reproduces the published image (see each release).