Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Run extract-xiso with docker #73

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 *
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```