I want to release this arduino-cli for offline users using Arduino Uno hardware.
So I was trying to make the arduino-cli be embedding the ardunio:avr platform in the core from the first.
By the help of issue([Question] How can I make the arduino-cli be embedding the ardunio:avr platform in the core from the first? · Issue #1190 · arduino/arduino-cli · GitHub), I achieved first step.
But, the size of the package in the Arduino15 directory which is created by the command arduino-cli core install arduino:avr is almost 270MB. Especially, Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 is the biggest size, almost 235MB. It's too big for the my custom release. It's too big! I am planning to release my custom program including this toolchain(CLI+core platform). How can I dramatically reduce it only for Uno and Nano?