File tree Expand file tree Collapse file tree 5 files changed +24
-9
lines changed
Filter options
Expand file tree Collapse file tree 5 files changed +24
-9
lines changed
Original file line number Diff line number Diff line change @@ -21,11 +21,15 @@ RUN apt-get update \
21
21
&& apt-get -y install libva-drm2 \
22
22
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
23
23
24
+ # Copy ffmpeg
24
25
COPY --from=build /app/workspace/bin/ffmpeg /usr/bin/ffmpeg
25
26
COPY --from=build /app/workspace/bin/ffprobe /usr/bin/ffprobe
27
+ COPY --from=build /app/workspace/bin/ffplay /usr/bin/ffplay
26
28
27
- RUN ldd /usr/bin/ffmpeg ; exit 0
28
- RUN ldd /usr/bin/ffprobe ; exit 0
29
+ # Check shared library
30
+ RUN ldd /usr/bin/ffmpeg
31
+ RUN ldd /usr/bin/ffprobe
32
+ RUN ldd /usr/bin/ffplay
29
33
30
34
CMD ["--help" ]
31
35
ENTRYPOINT ["/usr/bin/ffmpeg" ]
Original file line number Diff line number Diff line change @@ -35,9 +35,12 @@ COPY --from=build /usr/local/cuda-11.1/targets/x86_64-linux/lib/libnppidei.so.11
35
35
# Copy ffmpeg
36
36
COPY --from=build /app/workspace/bin/ffmpeg /usr/bin/ffmpeg
37
37
COPY --from=build /app/workspace/bin/ffprobe /usr/bin/ffprobe
38
+ COPY --from=build /app/workspace/bin/ffplay /usr/bin/ffplay
38
39
39
- RUN ldd /usr/bin/ffmpeg ; exit 0
40
- RUN ldd /usr/bin/ffprobe ; exit 0
40
+ # Check shared library
41
+ RUN ldd /usr/bin/ffmpeg
42
+ RUN ldd /usr/bin/ffprobe
43
+ RUN ldd /usr/bin/ffplay
41
44
42
45
CMD ["--help" ]
43
46
ENTRYPOINT ["/usr/bin/ffmpeg" ]
Original file line number Diff line number Diff line change @@ -37,9 +37,12 @@ COPY --from=build /usr/local/cuda-11.1/targets/x86_64-linux/lib/libnppidei.so.11
37
37
# Copy ffmpeg
38
38
COPY --from=build /app/workspace/bin/ffmpeg /usr/bin/ffmpeg
39
39
COPY --from=build /app/workspace/bin/ffprobe /usr/bin/ffprobe
40
+ COPY --from=build /app/workspace/bin/ffplay /usr/bin/ffplay
40
41
41
- RUN ldd /usr/bin/ffmpeg ; exit 0
42
- RUN ldd /usr/bin/ffprobe ; exit 0
42
+ # Check shared library
43
+ RUN ldd /usr/bin/ffmpeg
44
+ RUN ldd /usr/bin/ffprobe
45
+ RUN ldd /usr/bin/ffplay
43
46
44
47
CMD ["--help" ]
45
48
ENTRYPOINT ["/usr/bin/ffmpeg" ]
Original file line number Diff line number Diff line change @@ -10,4 +10,5 @@ COPY --from=ffmpeg:cuda-${DIST} /lib/x86_64-linux-gnu/libnppidei.so.11 /lib/libn
10
10
11
11
# Copy ffmpeg
12
12
COPY --from=ffmpeg:cuda-${DIST} /usr/bin/ffmpeg /bin/ffmpeg
13
- COPY --from=ffmpeg:cuda-${DIST} /usr/bin/ffprobe /bin/ffprobe
13
+ COPY --from=ffmpeg:cuda-${DIST} /usr/bin/ffprobe /bin/ffprobe
14
+ COPY --from=ffmpeg:cuda-${DIST} /usr/bin/ffplay /bin/ffplay
Original file line number Diff line number Diff line change @@ -14,16 +14,20 @@ COPY ./build-ffmpeg /app/build-ffmpeg
14
14
15
15
RUN AUTOINSTALL=yes /app/build-ffmpeg --build --full-static
16
16
17
- RUN ldd /app/workspace/bin/ffmpeg ; exit 0
18
- RUN ldd /app/workspace/bin/ffprobe ; exit 0
17
+ # Check shared library
18
+ RUN ! ldd /app/workspace/bin/ffmpeg
19
+ RUN ! ldd /app/workspace/bin/ffprobe
20
+ RUN ! ldd /app/workspace/bin/ffplay
19
21
20
22
FROM scratch
21
23
22
24
ENV NVIDIA_VISIBLE_DEVICES all
23
25
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility,video
24
26
27
+ # Copy ffmpeg
25
28
COPY --from=build /app/workspace/bin/ffmpeg /ffmpeg
26
29
COPY --from=build /app/workspace/bin/ffprobe /ffprobe
30
+ COPY --from=build /app/workspace/bin/ffplay /ffplay
27
31
28
32
CMD ["--help" ]
29
33
ENTRYPOINT ["/ffmpeg" ]
You can’t perform that action at this time.
0 commit comments