Extract Docker RUN commands into shell scripts for better maintainability

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-29 19:08:11 +00:00
parent a6f97e712a
commit be09b89856
8 changed files with 211 additions and 157 deletions

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Install required tools for building UEFI-bootable SparkOS image
set -e
apt-get update
apt-get install -y \
gcc \
make \
dosfstools \
mtools \
e2fsprogs \
parted \
gdisk \
grub-efi-amd64-bin \
grub-common \
wget \
busybox-static \
kmod
rm -rf /var/lib/apt/lists/*