aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-03-21 13:32:45 +1300
committerArslaan Pathan <[email protected]>2026-03-21 13:32:45 +1300
commit81823518ff31ce5fc02e3e71b6d6a4819e7299e9 (patch)
tree7156a85edbb42bbe4c367ceff9cf266169a562a7 /Dockerfile
parentfb35f93d32fbff8b1f31b3cd1f546f29054d74ee (diff)
downloadFrenchToastOS-81823518ff31ce5fc02e3e71b6d6a4819e7299e9.tar.xz
FrenchToastOS-81823518ff31ce5fc02e3e71b6d6a4819e7299e9.zip
Unified ISO, make it work properly on EFI, video modes fix, remove docker stuff because it sucks (just use native stuff no one cares
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile43
1 files changed, 43 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..4395562
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,43 @@
+FROM ubuntu:latest
+
+# debug uname
+RUN uname -a
+
+RUN apt-get update && apt-get install -y \
+ build-essential \
+ bison \
+ flex \
+ libgmp3-dev \
+ libmpc-dev \
+ libmpfr-dev \
+ texinfo \
+ wget \
+ grub-common \
+ grub-pc-bin \
+ grub-efi-ia32-bin \
+ xorriso \
+ mtools \
+ make
+
+WORKDIR /tmp
+RUN wget https://ftp.gnu.org/gnu/binutils/binutils-2.41.tar.gz && \
+ tar -xf binutils-2.41.tar.gz && \
+ mkdir build-binutils && cd build-binutils && \
+ ../binutils-2.41/configure --target=i686-elf --prefix=/opt/cross --disable-nls --disable-werror && \
+ make -j$(nproc) && \
+ make install && \
+ cd /tmp && rm -rf binutils-2.41* build-binutils
+
+RUN wget https://ftp.gnu.org/gnu/gcc/gcc-13.2.0/gcc-13.2.0.tar.gz && \
+ tar -xf gcc-13.2.0.tar.gz && \
+ mkdir build-gcc && cd build-gcc && \
+ ../gcc-13.2.0/configure --target=i686-elf --prefix=/opt/cross --disable-nls --enable-languages=c,c++ --without-headers && \
+ make all-gcc -j$(nproc) && \
+ make all-target-libgcc -j$(nproc) && \
+ make install-gcc && \
+ make install-target-libgcc && \
+ cd /tmp && rm -rf gcc-13.2.0* build-gcc
+
+ENV PATH="/opt/cross/bin:${PATH}"
+
+WORKDIR /workspace