From a8c47cba590f93de7b4bc2f939071a3cb7bd44fc Mon Sep 17 00:00:00 2001 From: MisterSheeple <27652712+MisterSheeple@users.noreply.github.com> Date: Mon, 5 Aug 2024 03:41:47 +0000 Subject: [PATCH] Undo most of previous commit --- Dockerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 36d152ae..a14af6fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"