Skip to content

Commit 2ed5130

Browse files
committed
Fix ffmpeg not found
1 parent 0f55a41 commit 2ed5130

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ RUN cd ~/ffmpeg_sources && \
5757
hg clone https://bitbucket.org/multicoreware/x265 && \
5858
cd ~/ffmpeg_sources/x265/build/linux && \
5959
PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_SHARED:bool=off ../../source && \
60-
make && \
60+
PATH="$HOME/bin:$PATH" make && \
6161
make install
6262

6363
# Install libfdk_aac
@@ -123,9 +123,8 @@ RUN cd ~/ffmpeg_sources && \
123123
--enable-libx264 \
124124
--enable-libx265 \
125125
--enable-nonfree && \
126-
make && \
127-
make install && \
128-
hash -d ffmpeg
126+
PATH="$HOME/bin:$PATH" make && \
127+
PATH="$HOME/bin:$PATH" make install
129128

130129
RUN cd $HOME/bin && \
131130
find . ! -perm -o=r -exec chmod +400 {} \; && \

0 commit comments

Comments
 (0)