Skip to content

Commit

Permalink
build from submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
kozakura913 committed Apr 18, 2024
1 parent 8a10b6e commit 372a4b0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
FROM alpine:edge
RUN apk add --no-cache clang musl-dev curl meson ninja pkgconfig git nasm
RUN git clone --branch 1.3.0 --depth 1 https://code.videolan.org/videolan/dav1d.git /dav1d_src
ENV PKG_CONFIG_PATH=/dav1d/lib/pkgconfig
ENV LD_LIBRARY_PATH=/dav1d/lib
COPY dav1d /dav1d_src
WORKDIR /dav1d_src
RUN meson build -Dprefix=/dav1d -Denable_tools=false -Denable_examples=false -Ddefault_library=static --buildtype release
RUN ninja -C build && ninja -C build install
Expand Down

0 comments on commit 372a4b0

Please sign in to comment.