diff --git a/Dockerfile b/Dockerfile index 1a95848..0904e78 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,16 @@ FROM wiiulegacy/core:0.1 MAINTAINER Maschell +RUN git clone --recursive https://github.com/decaf-emu/wut + +WORKDIR wut + RUN apt-get update && \ - apt-get install -y --no-install-recommends cmake --fix-missing + apt-get upgrade -y && \ + apt-get install -y cmake zlib1g-dev gcc g++ build-essential --fix-missing -ENV WUT_ROOT=${DEVKITPRO}/wut - -RUN wget https://github.com/decaf-emu/wut/releases/download/1.0.0-beta4/wut.linux64.7z && \ - 7z x -y $(ls | grep "linux") -o${WUT_ROOT} && \ - rm wut.linux64.7z +ENV WUT_ROOT=${DEVKITPRO}/wut + +RUN mkdir build && cd build && \ + cmake -DCMAKE_INSTALL_PREFIX=${WUT_ROOT} ../ && \ + make install