archy/image-recipe/Dockerfile.build
Dorian ba1a7bd3f6 Enhance README and build scripts for hardware-specific optimizations
- Updated README.md to clarify development setup for macOS/Docker and added production build instructions for specific hardware.
- Introduced new build scripts for optimized OS images targeting Start9 Server Pure, HP ProDesk 400 G4 DM, and Dell OptiPlex.
- Enhanced Dockerfile to specify platform compatibility and improved Alpine profile for Archipelago builds.
- Updated configuration files and init scripts to support new hardware profiles and ensure proper service management.
2026-01-31 19:47:52 +00:00

42 lines
814 B
Docker

# Docker build image for Archipelago OS image building
# Can be used on macOS or Linux
FROM --platform=linux/amd64 alpine:3.19
# Install build dependencies
RUN apk add --no-cache \
bash \
git \
alpine-sdk \
abuild \
alpine-conf \
syslinux \
xorriso \
squashfs-tools \
grub \
grub-efi \
mtools \
dosfstools \
e2fsprogs \
rsync \
curl \
wget \
ca-certificates \
&& rm -rf /var/cache/apk/*
# Install Rust for backend compilation
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
# Install Node.js for frontend build
RUN apk add --no-cache nodejs npm
# Setup abuild
RUN abuild-keygen -a -n || true
# Set working directory
WORKDIR /workspace
# Default command
CMD ["/bin/bash"]