mid coding commit
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
# Docker build image for Archipelago OS image building
|
||||
# Can be used on macOS or Linux
|
||||
|
||||
FROM 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"]
|
||||
Reference in New Issue
Block a user