I am using VirtualBox, rather than Docker, to create an environment build vyos for the i386 architecture.
I extracted the RUN commands in the Dockerfile - they are really useful to get Debian setup.
Can I suggest that the RUN commands are extracted from the Dockerfile and put in a shell script instead (scripts/setup-build-env ?) and then have the Dockerfile call the shell script?
Are there any disadvantages to doing that?