File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,17 @@ RUN cd ~/ffmpeg_sources && \
126126 PATH="$HOME/bin:$PATH" make && \
127127 PATH="$HOME/bin:$PATH" make install
128128
129- RUN cd $HOME/bin && \
129+ RUN mkdir -p $HOME/lib && \
130+ cp /usr/lib64/libxcb*.so.* $HOME/lib && \
131+ cp /usr/lib64/libfreetype*.so.* $HOME/lib && \
132+ cp /usr/lib64/libbz2*.so $HOME/lib && \
133+ cp /usr/lib64/libbz2.so $HOME/lib/libbz2.so.1 && \
134+ cp /usr/lib64/liblzma.so* $HOME/lib && \
135+ cp /usr/lib64/libXau.so* $HOME/lib
136+
137+ RUN rm -rf $HOME/ffmpeg_sources && \
138+ rm -rf $HOME/ffmpeg_build
139+
140+ RUN cd $HOME && \
130141 find . ! -perm -o=r -exec chmod +400 {} \; && \
131- zip -yr /tmp/ffmpeg-${FFMPEG_VERSION}.zip ./*
142+ zip -yr /tmp/ffmpeg-${FFMPEG_VERSION}.zip ./
You can’t perform that action at this time.
0 commit comments