Skip to content

Commit

Permalink
multi stage build
Browse files Browse the repository at this point in the history
  • Loading branch information
kozakura913 committed Apr 18, 2024
1 parent 9d42517 commit 0622396
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ ENV LD_LIBRARY_PATH=/dav1d/lib
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

FROM alpine:edge
COPY --from=0 /dav1d /dav1d
WORKDIR /dav1d
CMD ["sh"]

0 comments on commit 0622396

Please sign in to comment.