diff --git a/docker/Dockerfile b/docker/Dockerfile index f2e0179..6894140 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,10 +8,8 @@ COPY demo.ipynb /test/ # install M2 USER root -RUN apt-get update && apt-get install -y gnupg2 -RUN echo 'deb https://faculty.math.illinois.edu/Macaulay2/Repositories/Ubuntu bionic main' >/etc/apt/sources.list.d/macaulay2.list -RUN wget http://www.math.uiuc.edu/Macaulay2/PublicKeys/Macaulay2-key -RUN apt-key add Macaulay2-key +RUN apt-get update && apt-get install -y software-properties-common +RUN add-apt-repository ppa:macaulay2/macaulay2 RUN apt-get update && apt-get install -y macaulay2 # run jupyter notebook