Undo most of previous commit

This commit is contained in:
MisterSheeple
2024-08-05 03:41:47 +00:00
committed by GitHub
parent 27668ab595
commit a8c47cba59
+4 -6
View File
@@ -1,9 +1,5 @@
FROM ubuntu:24.04 as build
# --- set up work directory ---
RUN mkdir /ac-decomp
WORKDIR /ac-decomp
# --- basic package installation ---
RUN apt-get update && \
apt-get install -y \
@@ -24,7 +20,7 @@ RUN rm -rf /temp
# --- compiler download and setup ---
RUN wget https://files.decomp.dev/compilers_latest.zip
RUN mkdir compilers_temp && unzip compilers_latest.zip -d compilers_temp
RUN mv compilers_temp/GC/1.2.5n/ /ac-decomp/tools/ && mv compilers_temp/GC/1.3.2/ /ac-decomp/tools/ && mv compilers_temp/GC/1.3.2r/ /ac-decomp/tools/
RUN mv compilers_temp/GC/1.2.5n/ tools/ && mv compilers_temp/GC/1.3.2/ tools/ && mv compilers_temp/GC/1.3.2r/ tools/
RUN rm -r compilers_temp compilers_latest.zip
# --- wibo installation ---
@@ -54,7 +50,9 @@ RUN cd /N64_SDK/ultra/usr/ && find -type f -maxdepth 1 -delete && find . -not -n
# modify Gpopmtx's param member to be unsigned int
RUN sed -i 's/unsigned char param:8;/unsigned int param:8;/g' /N64_SDK/ultra/usr/include/PR/gbi.h
# --- set up env vars ---
# --- set up work directory and env vars ---
RUN mkdir /ac-decomp
WORKDIR /ac-decomp
ENV PATH="/ac-decomp/tools:${PATH}"
ENV N64_SDK="/N64_SDK"
ENV DEVKITPPC="/opt/devkitpro/devkitPPC"