Add master_me compile step.
This commit is contained in:
parent
51db84b998
commit
fc3044e66b
25
Dockerfile
25
Dockerfile
|
@ -27,6 +27,28 @@ RUN curl -fsSL https://github.com/meilisearch/meilisearch/archive/refs/tags/v1.1
|
|||
&& chmod a+x ./target/release/meilisearch \
|
||||
&& mv ./target/release/meilisearch /usr/local/bin/meilisearch
|
||||
|
||||
#
|
||||
# master_me build step
|
||||
#
|
||||
FROM debian:bookworm AS masterme
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends build-essential git faust python3-pip ladspa-sdk \
|
||||
&& mkdir -p /tmp/faustpp \
|
||||
&& mkdir -p /tmp/masterme \
|
||||
&& mkdir -p /usr/lib/ladspa
|
||||
|
||||
WORKDIR /tmp/faustpp
|
||||
|
||||
RUN git clone https://github.com/jpcima/faustpp . \
|
||||
&& pip install --break-system-packages .
|
||||
|
||||
WORKDIR /tmp/masterme
|
||||
|
||||
RUN git clone https://github.com/trummerschlunk/master_me.git . \
|
||||
&& faust2ladspa master_me.dsp \
|
||||
&& mv master_me.so /usr/lib/ladspa/master_me.so
|
||||
|
||||
#
|
||||
# MariaDB dependencies build step
|
||||
#
|
||||
|
@ -67,6 +89,9 @@ COPY ./util/docker/stations /bd_build/stations/
|
|||
RUN bash /bd_build/stations/setup.sh \
|
||||
&& rm -rf /bd_build/stations
|
||||
|
||||
# Add master_me
|
||||
COPY --from=masterme /usr/lib/ladspa/master_me.so /usr/lib/ladspa/master_me.so
|
||||
|
||||
COPY ./util/docker/web /bd_build/web/
|
||||
RUN bash /bd_build/web/setup.sh \
|
||||
&& rm -rf /bd_build/web
|
||||
|
|
Loading…
Reference in New Issue