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,10 @@
#!/bin/bash
# Download a minimal Linux kernel for UEFI image
set -e
mkdir -p /kernel
apt-get update
apt-get download linux-image-generic
dpkg -x linux-image-*.deb /kernel
rm -rf /var/lib/apt/lists/* linux-image-*.deb