Skip to content

Commit

Permalink
fix build-slim.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava committed May 3, 2024
1 parent 1f43c81 commit a18b6c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.slim
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ WORKDIR /home
#
#WORKDIR /app
COPY . .
RUN bash -x build.sh
RUN bash -x build-slim.sh
#
#RUN rm -rf /home/FFmpeg
RUN mv /home/bin/ffmpeg /usr/bin
Expand Down
2 changes: 1 addition & 1 deletion build-slim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
#--enable-libsrt \
#--enable-libx265
export PATH="$HOME/bin:$PATH"
make && make install && rm -rf /tmp/FFmpeg
make && make install && rm -rf /tmp/FFmpeg && rm -rf /home/FFmpeg
#
#
echo "export CGO_LDFLAGS=\"-L$HOME/ffmpeg_build/lib/\"" >> ~/.profile
Expand Down

0 comments on commit a18b6c7

Please sign in to comment.