Skip to content

Commit

Permalink
(octave) rebuild images based on ubuntu 18.04
Browse files Browse the repository at this point in the history
  • Loading branch information
adrysn committed Feb 11, 2019
1 parent 77c9b54 commit 837c00a
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 94 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
28 changes: 0 additions & 28 deletions octave/Dockerfile.3.8-debian

This file was deleted.

66 changes: 0 additions & 66 deletions octave/Dockerfile.4.2-debian

This file was deleted.

25 changes: 25 additions & 0 deletions octave/Dockerfile.4.2-ubuntu18.04
@@ -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

0 comments on commit 837c00a

Please sign in to comment.