diff --git a/.dockerignore b/.dockerignore index 224a94a..5aeb0b4 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,4 @@ **/target/ **/.git/ -**/out/ \ No newline at end of file +**/out/ +**/Dockerfile \ No newline at end of file diff --git a/crates/zap-stream/Dockerfile b/crates/zap-stream/Dockerfile index 594dd67..998191e 100755 --- a/crates/zap-stream/Dockerfile +++ b/crates/zap-stream/Dockerfile @@ -15,7 +15,8 @@ RUN apt update && \ protobuf-compiler \ libclang-dev && \ rm -rf /var/lib/apt/lists/* -RUN git clone --single-branch --branch release/7.1 https://git.v0l.io/ffmpeg/ffmpeg.git && \ +RUN wget -O ffmpeg.tar.gz https://git.v0l.io/ffmpeg/ffmpeg/archive/release/7.1.tar.gz && \ + tar xfv ffmpeg.tar.gz && \ cd ffmpeg && \ ./configure \ --prefix=$FFMPEG_DIR \ @@ -31,6 +32,7 @@ RUN git clone --single-branch --branch release/7.1 https://git.v0l.io/ffmpeg/ffm --disable-static \ --enable-shared && \ make -j$(nproc) && make install +ENV LD_LIBRARY_PATH=$FFMPEG_DIR/lib RUN cargo test RUN cargo install --path ./crates/zap-stream --root /app/build