diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..72a74a6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM ubuntu + +RUN apt-get update && apt install -y cmake gcc make build-essential git + +WORKDIR tmp +COPY . . + +RUN mkdir build +RUN cd build && cmake .. && make && cp extract-xiso /bin + +RUN rm -rf * \ No newline at end of file diff --git a/README.md b/README.md index 0b7e18e..77f634c 100644 --- a/README.md +++ b/README.md @@ -105,3 +105,24 @@ make ``` The compiled binary should now be in the `extract-xiso/build` directory as `extract-xiso`. + +### Setup with Docker + +If you don't want install direct in your computer, you can run inside a docker container: + +``` +# Clone Repo +git clone https://github.com/XboxDev/extract-xiso.git + +# cd into directory +cd extract-xiso + +# build image +docker build --no-cache . -t extract-xiso + +# inside your game folder, change the GAME.ISO to your correct iso and run +docker run -v `PWD`/GAME.ISO:/tmp/input/file.iso -v `PWD`/output:/tmp/output -ti extract-xiso extract-xiso -x -s /tmp/input/file.iso -d /tmp/output + +# check the file extract +ls output +```