Skip to content

Commit 067471a

Browse files
Add: dockerfile with rockos that uses GStreamer
- Added a dockerfile that uses the rockos image and installs GStreamer
1 parent a7f6fe5 commit 067471a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docker/rockos_gstreamer.dockerfile

+7-3
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ RUN yum update -y && \
126126
systemtap-sdt-devel \
127127
libatomic \
128128
gstreamer1-plugins-base \
129+
gstreamer1-plugins-good \
129130
gstreamer1-devel
130131

131132
# Add user: mtl(1001) with group vfio(2110)
@@ -136,12 +137,15 @@ RUN groupadd -g 2110 vfio && \
136137
COPY --chown=mtl --from=builder /install /
137138
COPY --chown=mtl --from=builder /Media-Transport-Library/tests/tools/RxTxApp/build/RxTxApp /home/mtl/RxTxApp
138139
COPY --chown=mtl --from=builder /Media-Transport-Library/tests/tools/RxTxApp/script /home/mtl/scripts
139-
COPY --chown=mtl --from=builder /Media-Transport-Library/ecosystem/gstreamer_plugin/builddir/*.so /home/mtl/gstreamer
140+
COPY --chown=mtl --from=builder /Media-Transport-Library/ecosystem/gstreamer_plugin/builddir/*.so /home/mtl/gstreamer/
141+
142+
# Setup dpdk
143+
RUN echo -e "/usr/local/lib\n/usr/local/lib64" > /etc/ld.so.conf.d/dpdk.conf
144+
RUN ldconfig
140145

141146
WORKDIR /home/mtl/
142147

143-
RUN echo "/usr/local/lib" > /etc/ld.so.conf.d/local-lib.conf && ldconfig
144148

145149
USER mtl
146150

147-
CMD ["/bin/bash"]
151+
ENTRYPOINT ["/bin/bash", "-c"]

0 commit comments

Comments
 (0)