Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(octave) rebuild images based on ubuntu 18.04
- Loading branch information
Showing
6 changed files
with
25 additions
and
94 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,25 @@ | ||
FROM ubuntu:18.04 | ||
|
||
# Install Octave | ||
# RUN apt-get install -y liboctave-dev info | ||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
octave \ | ||
ghostscript epstool transfig pstoedit gnuplot | ||
|
||
# Install octave packages | ||
ADD packages.m /home/work/packages.m | ||
RUN octave-cli /home/work/packages.m | ||
|
||
LABEL ai.backend.kernelspec="1" \ | ||
ai.backend.envs.corecount="OPENBLAS_NUM_THREADS,NPROC" \ | ||
ai.backend.features="batch query uid-match" \ | ||
ai.backend.resource.min.cpu="1" \ | ||
ai.backend.resource.min.mem="128m" \ | ||
ai.backend.base-distro="ubuntu16.04" \ | ||
ai.backend.runtime-type="octave" \ | ||
ai.backend.runtime-path="/usr/bin/octave-cli" \ | ||
ai.backend.service-ports="" | ||
COPY policy.yml /etc/backend.ai/jail/policy.yml | ||
|
||
# vim: ft=dockerfile |