From 149e00aa74a60ce44c8ea2f25a0c82b725fde977 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 23 Sep 2018 14:30:37 +0200 Subject: [PATCH] first commit --- Dockerfile | 18 ++++++++++++++++++ README.md | 8 ++++++++ 2 files changed, 26 insertions(+) create mode 100644 Dockerfile create mode 100644 README.md diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6afa86f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM wiiuwut/core:1.0.0-beta4 + +MAINTAINER Maschell + +RUN mkdir /artifacts + +# Get dependencies +COPY --from=wiiuwut/libutils:0.1 /artifacts $WUT_ROOT + +RUN git clone https://github.com/Maschell/controller_patcher -b wut && cd controller_patcher && git checkout fd70b257c6921294a8643d1f2c3d5c0175081844 + +RUN cd controller_patcher && mkdir build && cd build && \ + cmake -DCMAKE_TOOLCHAIN_FILE=$WUT_ROOT/share/wut.toolchain.cmake -DCMAKE_INSTALL_PREFIX=/artifacts ../ &&\ + make install + +RUN rm -rf controller_patcher + +WORKDIR /artifacts \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..93ad0d4 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# controller_patcher Dockerfile (wut) + +The image `wiiuwut/controller_patcher` on [Docker Hub](https://hub.docker.com/r/wiiuwut/controller_patcher/) provides a prebuilt library in the `/artifacts` directory. Copy it into your WUT_ROOT folder. + +Example: +``` +COPY --from=wiiuwut/controller_patcher:0.1 /artifacts $WUT_ROOT +```