Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timsutton/docker-xip
Docker image for unpacking .xip files
https://github.com/timsutton/docker-xip
apple docker packaging xcode xip
Last synced: 6 days ago
JSON representation
Docker image for unpacking .xip files
- Host: GitHub
- URL: https://github.com/timsutton/docker-xip
- Owner: timsutton
- Created: 2019-12-11T13:58:28.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-29T12:21:04.000Z (over 3 years ago)
- Last Synced: 2024-12-24T01:54:15.461Z (13 days ago)
- Topics: apple, docker, packaging, xcode, xip
- Language: Dockerfile
- Size: 5.86 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xip-docker
Basic Docker image with tools to be able to decompress .xip (and probably .pkg) files from Apple, with the goal of being able to decompress files packaged in this format, but on Linux instead of macOS.
User experience for this isn't fleshed out, this is a simple POC with a (very) basic helper shell script as an example of decompressing an Xcode .xip file.
For the .xip files, there's no handling of signatures or anything fancy like security assessment policy which can be done on a real macOS system. Decompression is completely single-threaded, and time to decompress Xcode 11.3 on a sample system of an Ivy Bridge Xeon E5-2697 v2 CPU with a spinning disk RAID, is about 10 minutes.
## Usage
Clone this repo locally, then build it from the checked out directory:
```
docker build -t xip .
```To use the example of decompressing Xcode, copy an Xcode xip file to this directory and name it `xcode.xip`.
Now run a new container with this directory mounted somewhere (like `/tmp` here), and run the sample script:
```
docker run -v $(pwd):/tmp xip /tmp/unpack_xcode.sh
```You should end up with the Xcode app bundle in the current directory.
## Extra
It's not directly related to xip files, but this [smartmontools Docker image repo](https://github.com/smartmontools/docker-build) has a nice set of tools set up for doing all the macOS packaging and disk image work.