Coder Social home page Coder Social logo

docker-xip's Introduction

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 has a nice set of tools set up for doing all the macOS packaging and disk image work.

docker-xip's People

Contributors

timsutton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.