# Dockerfile for building CubeCactusOS
# Provides a complete build environment with all necessary tools
FROM ubuntu:22.04
# Install build dependencies
RUN apt-get update && apt-get install -y \
build-essential \
gcc \
g++ \
make \
nasm \
grub-pc-bin \
xorriso \
qemu-system-x86 \
git \
&& rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /build
# Copy source code
COPY os/ /build/os/
COPY Makefile.os /build/
# Default command
CMD ["bash"]