Skip to content

Commit b4506e7

Browse files
authored
Add usb muxd dockerfile (#351)
* add dockerfile to build usbmuxd
1 parent 2d2d6fd commit b4506e7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

usbmuxdbuild/Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM ubuntu:latest
2+
RUN apt-get update&& apt-get install -y git build-essential pkg-config autoconf automake libtool-bin python3 python-is-python3 libssl-dev libusb-1.0-0-dev
3+
RUN git clone https://github.com/libimobiledevice/libplist
4+
RUN git clone https://github.com/libimobiledevice/libusbmuxd
5+
RUN git clone https://github.com/libimobiledevice/libimobiledevice
6+
RUN git clone https://github.com/libimobiledevice/libimobiledevice-glue
7+
RUN git clone https://github.com/libimobiledevice/usbmuxd.git
8+
RUN cd libplist && ./autogen.sh && make && make install
9+
RUN cd libimobiledevice-glue && ./autogen.sh && make && make install
10+
RUN cd libusbmuxd && ./autogen.sh && make && make install
11+
RUN cd libimobiledevice && ./autogen.sh && make && make install
12+
RUN cd usbmuxd && ./autogen.sh && make && make install
13+
#if you don't this, you will get this weird error:
14+
# usbmuxd: error while loading shared libraries: libimobiledevice-glue-1.0.so.0: cannot open shared object file: No such file or directory
15+
# I guess a reboot would also work, tricky with a container though
16+
RUN ldconfig
17+
RUN usbmuxd --version
18+

0 commit comments

Comments
 (0)