Skip to content

Commit

Permalink
Reduce Docker image size by not downloading xybp888/iOS-SDKs.git and …
Browse files Browse the repository at this point in the history
…delete IPSW after unzipping
  • Loading branch information
sickcodes committed Oct 15, 2020
1 parent 67ee186 commit 54ff8ab
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Expand Up @@ -185,12 +185,15 @@ RUN mkdir -p /home/arch/docker-eyeos \
WORKDIR /home/arch/docker-eyeos
RUN wget "${IPSW}"

RUN unzip "$(basename "${IPSW}")"
RUN unzip "$(basename "${IPSW}")" \
&& rm -f "${IPSW}"

WORKDIR /home/arch/docker-eyeos
RUN git clone https://github.com/apple/darwin-xnu.git
RUN git clone https://github.com/theos/sdks.git
RUN git clone https://github.com/xybp888/iOS-SDKs.git

# temporarily removed to reduce image size until full build on Linux is complete
# RUN git clone https://github.com/xybp888/iOS-SDKs.git

WORKDIR /home/arch/docker-eyeos
RUN git clone --recursive https://github.com/alephsecurity/xnu-qemu-arm64.git
Expand Down

0 comments on commit 54ff8ab

Please sign in to comment.