Skip to content

Commit

Permalink
Update octave package installation to use a custom mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
suever committed Dec 30, 2022
1 parent 89bd2a4 commit dd46d90
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions ops/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,18 @@ RUN apt update \
&& rm -rf /var/lib/apt/lists/*

# Install octave requirements
RUN octave-cli --eval 'pkg install "https://downloads.sourceforge.net/project/octave/Octave%20Forge%20Packages/Individual%20Package%20Releases/io-2.6.4.tar.gz"'
RUN octave-cli --eval 'pkg install "https://downloads.sourceforge.net/project/octave/Octave%20Forge%20Packages/Individual%20Package%20Releases/statistics-1.4.3.tar.gz"'
RUN octave-cli --eval 'pkg install "https://downloads.sourceforge.net/project/octave/Octave%20Forge%20Packages/Individual%20Package%20Releases/symbolic-2.9.0.tar.gz"'
RUN octave-cli --eval 'pkg install "https://downloads.sourceforge.net/project/octave/Octave%20Forge%20Packages/Individual%20Package%20Releases/image-2.14.0.tar.gz"'
RUN wget "https://github.com/suever/matl-online-octave-packages/raw/main/io-2.6.4.tar.gz" \
&& octave-cli --eval 'pkg install "io-2.6.4.tar.gz"' \
&& rm -rf io-2.6.4.tar.gz
RUN wget "https://github.com/suever/matl-online-octave-packages/raw/main/statistics-1.4.3.tar.gz" \
&& octave-cli --eval 'pkg install "statistics-1.4.3.tar.gz"' \
&& rm -rf statistics-1.4.3.tar.gz
RUN wget "https://github.com/suever/matl-online-octave-packages/raw/main/symbolic-2.9.0.tar.gz" \
&& octave-cli --eval 'pkg install "symbolic-2.9.0.tar.gz"' \
&& rm -rf symbolic-2.9.0.tar.gz
RUN wget "https://github.com/suever/matl-online-octave-packages/raw/main/image-2.14.0.tar.gz" \
&& octave-cli --eval 'pkg install "image-2.14.0.tar.gz"' \
&& rm -rf image-2.14.0.tar.gz

RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
&& python get-pip.py
Expand Down

0 comments on commit dd46d90

Please sign in to comment.