From 90791ce8d60f7ed842244a7679d835565cffc459 Mon Sep 17 00:00:00 2001 From: shane knapp Date: Tue, 19 Sep 2023 12:25:28 -0700 Subject: [PATCH] adding musescore and music21 --- deployments/datahub/images/default/Dockerfile | 4 ++++ deployments/datahub/images/default/apt.txt | 4 ++++ deployments/datahub/images/default/environment.yml | 3 +++ 3 files changed, 11 insertions(+) diff --git a/deployments/datahub/images/default/Dockerfile b/deployments/datahub/images/default/Dockerfile index 6cb1939ad..27f651ca5 100644 --- a/deployments/datahub/images/default/Dockerfile +++ b/deployments/datahub/images/default/Dockerfile @@ -14,6 +14,10 @@ ENV NB_UID 1000 ENV CONDA_DIR /opt/conda ENV R_LIBS_USER /opt/r +# MUSIC 30: add apt repo for musescore3 +# https://github.com/berkeley-dsep-infra/datahub/issues/5047 +RUN add-apt-repository ppa:mscore-ubuntu/mscore3-stable -y + RUN apt-get -qq update --yes && \ apt-get -qq install --yes locales && \ echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \ diff --git a/deployments/datahub/images/default/apt.txt b/deployments/datahub/images/default/apt.txt index 95bb93c9b..870dfaee0 100644 --- a/deployments/datahub/images/default/apt.txt +++ b/deployments/datahub/images/default/apt.txt @@ -61,3 +61,7 @@ libudunits2-dev # Used by littler for IRkernel::installspec libzmq5 + +# MUSIC 30: musescore3 +# https://github.com/berkeley-dsep-infra/datahub/issues/5047 +musescore3 diff --git a/deployments/datahub/images/default/environment.yml b/deployments/datahub/images/default/environment.yml index 6d7ed19cb..e57ea74ba 100644 --- a/deployments/datahub/images/default/environment.yml +++ b/deployments/datahub/images/default/environment.yml @@ -85,6 +85,9 @@ dependencies: # UGBA88 Fall 2023, https://github.com/berkeley-dsep-infra/datahub/issues/5019 - pymysql==1.1.0 +# MUSIC 30, https://github.com/berkeley-dsep-infra/datahub/issues/5047 +- music21==9.1.0 + - pip: # Econ 148, Spring 2023 https://github.com/berkeley-dsep-infra/datahub/issues/4093 - pycountry-convert==0.7.2