Skip to content

Commit 54ff8ab

Browse files
committed
Reduce Docker image size by not downloading xybp888/iOS-SDKs.git and delete IPSW after unzipping
1 parent 67ee186 commit 54ff8ab

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎Dockerfile‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,15 @@ RUN mkdir -p /home/arch/docker-eyeos \
185185
WORKDIR /home/arch/docker-eyeos
186186
RUN wget "${IPSW}"
187187

188-
RUN unzip "$(basename "${IPSW}")"
188+
RUN unzip "$(basename "${IPSW}")" \
189+
&& rm -f "${IPSW}"
189190

190191
WORKDIR /home/arch/docker-eyeos
191192
RUN git clone https://github.com/apple/darwin-xnu.git
192193
RUN git clone https://github.com/theos/sdks.git
193-
RUN git clone https://github.com/xybp888/iOS-SDKs.git
194+
195+
# temporarily removed to reduce image size until full build on Linux is complete
196+
# RUN git clone https://github.com/xybp888/iOS-SDKs.git
194197

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

0 commit comments

Comments
 (0)