Add master_me compile step.

This commit is contained in:
Buster Neece 2023-04-12 17:22:36 -05:00
parent 51db84b998
commit fc3044e66b
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E
1 changed files with 25 additions and 0 deletions

View File

@ -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