Skip to content

Commit 48b202b

Browse files
committed
ignore ldd error
1 parent 5e3132a commit 48b202b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ FROM ubuntu:20.04
1515
COPY --from=build /app/workspace/bin/ffmpeg /usr/bin/ffmpeg
1616
COPY --from=build /app/workspace/bin/ffprobe /usr/bin/ffprobe
1717

18-
RUN ldd /usr/bin/ffmpeg
19-
RUN ldd /usr/bin/ffprobe
18+
RUN ldd /usr/bin/ffmpeg ; exit 0
19+
RUN ldd /usr/bin/ffprobe ; exit 0
2020

2121
CMD ["--help"]
2222
ENTRYPOINT ["/usr/bin/ffmpeg"]

cuda-ubuntu.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,video
1919
COPY --from=build /app/workspace/bin/ffmpeg /usr/bin/ffmpeg
2020
COPY --from=build /app/workspace/bin/ffprobe /usr/bin/ffprobe
2121

22-
RUN ldd /usr/bin/ffmpeg
23-
RUN ldd /usr/bin/ffprobe
22+
RUN ldd /usr/bin/ffmpeg ; exit 0
23+
RUN ldd /usr/bin/ffprobe ; exit 0
2424

2525
CMD ["--help"]
2626
ENTRYPOINT ["/usr/bin/ffmpeg"]

full-static.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ FROM centos:8
1717
COPY --from=build /app/workspace/bin/ffmpeg /usr/bin/ffmpeg
1818
COPY --from=build /app/workspace/bin/ffprobe /usr/bin/ffprobe
1919

20-
RUN ldd /usr/bin/ffmpeg
21-
RUN ldd /usr/bin/ffprobe
20+
RUN ldd /usr/bin/ffmpeg ; exit 0
21+
RUN ldd /usr/bin/ffprobe ; exit 0
2222

2323
CMD ["--help"]
2424
ENTRYPOINT ["/usr/bin/ffmpeg"]

0 commit comments

Comments
 (0)