mirror of
https://github.com/johndoe6345789/SparkOS.git
synced 2026-04-24 13:34:56 +00:00
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:
20
scripts/docker-image-install-tools.sh
Executable file
20
scripts/docker-image-install-tools.sh
Executable 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/*
|
||||
Reference in New Issue
Block a user