Move adg build step
Cargo takes a long time to run, this improves the cache efficiency.
This commit is contained in:
parent
131a54dfaf
commit
c2aa4e2dfe
18
Dockerfile
18
Dockerfile
|
@ -28,6 +28,15 @@ RUN apt-get -y install \
|
||||||
meson \
|
meson \
|
||||||
vapoursynth-dev
|
vapoursynth-dev
|
||||||
|
|
||||||
|
RUN cd /tmp \
|
||||||
|
&& git clone --depth=1 --recursive https://git.kageru.moe/kageru/adaptivegrain \
|
||||||
|
&& cd adaptivegrain \
|
||||||
|
&& cargo build --release \
|
||||||
|
&& cp target/release/libadaptivegrain_rs.so /usr/lib/x86_64-linux-gnu/vapoursynth/ \
|
||||||
|
&& cd .. \
|
||||||
|
&& rm -rf adaptivegrain \
|
||||||
|
&& rm -rf ~/.cargo
|
||||||
|
|
||||||
# required by hvf.Deblock_QED (required by fvf.AutoDeblock)
|
# required by hvf.Deblock_QED (required by fvf.AutoDeblock)
|
||||||
RUN cd /tmp \
|
RUN cd /tmp \
|
||||||
&& git clone --depth=1 https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DCTFilter \
|
&& git clone --depth=1 https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DCTFilter \
|
||||||
|
@ -84,15 +93,6 @@ RUN cd /tmp \
|
||||||
&& cd /tmp/ \
|
&& cd /tmp/ \
|
||||||
&& rm -rf vs-placebo
|
&& rm -rf vs-placebo
|
||||||
|
|
||||||
RUN cd /tmp \
|
|
||||||
&& git clone --depth=1 --recursive https://git.kageru.moe/kageru/adaptivegrain \
|
|
||||||
&& cd adaptivegrain \
|
|
||||||
&& cargo build --release \
|
|
||||||
&& cp target/release/libadaptivegrain_rs.so /usr/lib/x86_64-linux-gnu/vapoursynth/ \
|
|
||||||
&& cd .. \
|
|
||||||
&& rm -rf adaptivegrain \
|
|
||||||
&& rm -rf ~/.cargo
|
|
||||||
|
|
||||||
# Runtime dependencies
|
# Runtime dependencies
|
||||||
RUN apt-get -y install \
|
RUN apt-get -y install \
|
||||||
beignet-opencl-icd \
|
beignet-opencl-icd \
|
||||||
|
|
Reference in a new issue