blob: 8da9bd406e2da013a6045e9ff1d6d25c7babf14a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND="noninteractive"
RUN apt-get update && apt-get install -y \
build-essential \
pkg-config \
checkinstall \
git \
autoconf \
automake \
libtool-bin \
libreadline-dev \
libusb-1.0-0-dev \
libcurl4-openssl-dev \
libssl-dev \
libzip-dev \
zlib1g-dev \
python3 \
udev
RUN git clone https://github.com/libimobiledevice/libplist.git && \
cd libplist && \
./autogen.sh && \
make && \
make install && \
cd .. && \
rm libplist -rf
RUN git clone https://github.com/libimobiledevice/libtatsu.git && \
cd libtatsu && \
./autogen.sh && \
make && \
make install && \
cd .. && \
rm libtatsu -rf
RUN git clone https://github.com/libimobiledevice/libimobiledevice-glue.git && \
cd libimobiledevice-glue && \
./autogen.sh && \
make && \
make install && \
cd .. && \
rm libimobiledevice-glue -rf
RUN git clone https://github.com/libimobiledevice/libusbmuxd.git && \
cd libusbmuxd && \
./autogen.sh && \
make && \
make install && \
cd .. && \
rm libusbmuxd -rf
RUN git clone https://github.com/libimobiledevice/libimobiledevice.git && \
cd libimobiledevice && \
./autogen.sh && \
make && \
make install && \
cd .. && \
rm libimobiledevice -rf
RUN git clone https://github.com/libimobiledevice/libirecovery.git && \
cd libirecovery && \
./autogen.sh && \
make && \
make install && \
cd .. && \
rm libirecovery -rf
RUN git clone https://github.com/libimobiledevice/usbmuxd.git && \
cd usbmuxd && \
./autogen.sh && \
make && \
make install && \
cd .. && \
rm usbmuxd -rf
RUN git clone https://github.com/libimobiledevice/idevicerestore.git && \
cd idevicerestore && \
./autogen.sh && \
make && \
make install && \
cd .. && \
rm idevicerestore -rf
RUN ldconfig
WORKDIR /tmp
COPY idevicerestore.sh /usr/sbin/idevicerestore.sh
CMD idevicerestore.sh
|