Browse Source

install.sh

pull/2/head
Johannes Schickling 10 years ago
parent
commit
9a10899447
  1. 14
      octave/Dockerfile
  2. 11
      octave/install.sh

14
octave/Dockerfile

@ -1,17 +1,9 @@
FROM debian:wheezy
MAINTAINER Johannes Schickling "schickling.j@gmail.com"
# install octave 3.6.2
RUN apt-get update && apt-get install -y octave
# cleanup package manager
RUN apt-get autoclean && apt-get clean
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# prepare dir
RUN mkdir /source
ADD install.sh install.sh
RUN chmod +x install.sh && ./install.sh && rm install.sh
VOLUME ["/source"]
WORKDIR /source
CMD ["octave"]
CMD ["bash"]

11
octave/install.sh

@ -0,0 +1,11 @@
#! /bin/bash
# install octave 3.6.2
apt-get update && apt-get install -y octave
# cleanup package manager
apt-get autoclean && apt-get clean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# prepare dir
mkdir /source
Loading…
Cancel
Save