+8
-1
@@ -138,7 +138,7 @@ WORKDIR /workspace
|
||||
"""
|
||||
|
||||
def build_requirements_digest():
|
||||
return hashlib.sha256((repo_root() / "tools/requirements.txt").read_bytes()).hexdigest()
|
||||
return hashlib.sha256((repo_root() / "tools/requirements.txt").read_bytes() + (repo_root() / "tools/install_engraver.py").read_bytes()).hexdigest()
|
||||
|
||||
def product_build_dockerfile():
|
||||
return f"""FROM {DEFAULT_BUILD_BASE_IMAGE}
|
||||
@@ -202,6 +202,13 @@ RUN python3 -m venv /opt/modulus-python
|
||||
ENV PATH=/opt/modulus-python/bin:$PATH
|
||||
|
||||
COPY tools/requirements.txt /tmp/vamp-build-requirements.txt
|
||||
COPY tools/install_engraver.py /tmp/install-vamp-engraver.py
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \\
|
||||
libasound2t64 libdbus-1-3 libfontconfig1 libglib2.0-0t64 libgpg-error0 libnss3 libopengl0 libxkbcommon0 \\
|
||||
libxkbcommon-x11-0 libxcb-cursor0 libxcomposite1 libxrandr2 libxtst6 \\
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN python3 /tmp/install-vamp-engraver.py /opt/vamp-musescore
|
||||
ENV VAMP_MUSESCORE=/opt/vamp-musescore/squashfs-root/AppRun
|
||||
ARG MODULUS_TOOLS=build/build_tools
|
||||
COPY ${{MODULUS_TOOLS}}/docker/format-requirements.txt /tmp/modulus-format-requirements.txt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user