Created
August 7, 2020 19:13
-
-
Save CruelTott/c0e77a37e340265565e28e87729ac5b3 to your computer and use it in GitHub Desktop.
Dockerfile to build Adrenaline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:bionic | |
RUN apt update | |
RUN apt install -y build-essential | |
RUN apt install -y flex bison | |
RUN apt install -y cmake | |
RUN apt install -y git | |
RUN apt install -y curl | |
RUN apt install -y wget | |
RUN apt install -y sudo | |
RUN apt install -y python | |
RUN apt install -y gcc-arm-linux-gnueabihf | |
RUN apt install -y qemu-user-static | |
RUN mkdir /root/checkout | |
WORKDIR /root/checkout | |
RUN git clone https://github.com/TheOfficialFloW/Adrenaline.git | |
RUN git clone https://github.com/vitasdk/vdpm.git | |
RUN git clone https://github.com/frangarcj/vita-shader-collection.git | |
RUN git clone --branch fbo https://github.com/frangarcj/vita2dlib.git | |
WORKDIR /root/checkout/vdpm | |
RUN ./bootstrap-vitasdk.sh | |
ENV VITASDK=/usr/local/vitasdk | |
ENV PATH=$VITASDK/bin:$PATH | |
RUN echo "export VITASDK=/usr/local/vitasdk" >> /root/.bashrc | |
RUN echo 'export PATH=$VITASDK/bin:$PATH' >> /root/.bashrc | |
RUN ./install-all.sh | |
WORKDIR /root/checkout/vita2dlib/libvita2d | |
RUN make | |
RUN make install | |
WORKDIR /root/checkout/vita-shader-collection | |
RUN git clone https://github.com/JagerDesu/vita-shaders | |
RUN cd vita-shaders && make && cp *.bin ../ | |
RUN sed -i -e 's|./gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/libc|/usr/arm-linux-gnueabihf|g' Makefile | |
RUN make | |
RUN cp libvitashaders.a /usr/local/vitasdk/arm-vita-eabi/lib/ | |
WORKDIR /root/checkout/Adrenaline/kernel | |
RUN cmake . | |
RUN make | |
RUN make install | |
WORKDIR /root/checkout/Adrenaline/user | |
RUN cmake . | |
RUN make | |
WORKDIR /root/checkout/Adrenaline/bubble | |
RUN cmake . | |
RUN make | |
WORKDIR /root/checkout/Adrenaline/user | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment