-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c986acd
commit 078fc91
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM stepik/epicbox-base:stretch | ||
MAINTAINER Pavel Sviderski <[email protected]> | ||
|
||
ENV OCTAVE_VERSION 4.0.3-3 | ||
ENV SYMBOLIC_VERSION 2.6.0 | ||
# required to locate python for symbolic package | ||
ENV PYTHON /usr/bin/python3 | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
octave=${OCTAVE_VERSION} python3-sympy ca-certificates \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends wget \ | ||
&& wget https://downloads.sourceforge.net/project/octave/Octave%20Forge%20Packages/Individual%20Package%20Releases/symbolic-${SYMBOLIC_VERSION}.tar.gz \ | ||
-O /tmp/symbolic.tar.gz \ | ||
&& octave-cli --quiet --no-window-system --no-history --norc --eval 'pkg install -global /tmp/symbolic.tar.gz' \ | ||
&& apt-get purge -y wget \ | ||
&& rm -rf /var/lib/apt/lists/* /tmp/* |