Switch docker build to use local context rather than pulling

This commit is contained in:
Donncha Ó Cearbhaill
2024-10-23 14:56:35 +02:00
parent 62cdfa1b59
commit 319bc7e9cd
4 changed files with 15 additions and 13 deletions
+4 -3
View File
@@ -128,9 +128,10 @@ COPY --from=build-libusbmuxd /build /
COPY --from=build-libimobiledevice /build /
COPY --from=build-usbmuxd /build /
# Install mvt
# Install mvt using the locally checked out source
COPY ./ mvt
RUN apk add --no-cache git \
&& PIP_NO_CACHE_DIR=1 pip3 install git+https://github.com/mvt-project/mvt.git@main \
&& apk del git
&& PIP_NO_CACHE_DIR=1 pip3 install ./mvt \
&& apk del git && rm -rf ./mvt
ENTRYPOINT [ "/usr/local/bin/mvt-ios" ]