Skip to content

Commit

Permalink
Some improvements
Browse files Browse the repository at this point in the history
* phusion image upgraded to 16
* octave installed from ppa (4.0.0)
* typo
  • Loading branch information
Nicolas Borboën authored and Nicolas Borboën committed Feb 9, 2016
1 parent 1af908f commit 82a8476
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# docker build -t epflsti/octave-x11-novnc-docker .
# docker run -it -p 8083:8083 epflsti/octave-x11-novnc-docker

FROM phusion/baseimage:0.9.16
#
# A dockerfile to run Octave and access it through the browser with noVNC
#
# BUILD DOCKER: docker build -t epflsti/octave-x11-novnc-docker .
# RUN DOCKER: docker run -it -p 8083:8083 epflsti/octave-x11-novnc-docker
# TEST DOCKER: docker exec -it epflsti/octave-x11-novnc-docker /bin/bash

FROM phusion/baseimage:0.9.18
MAINTAINER epflsti <[email protected]>

# Set correct environment variables
Expand All @@ -13,13 +17,16 @@ ENV LANGUAGE en_US.UTF-8
ENV TZ=Europe/Zurich
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

# Installing apps (Note: git is here juste in case noVNC needs it in launch.sh
# Add the octave repo
RUN add-apt-repository ppa:octave/stable

# Installing apps (Note: git is here just in case noVNC needs it in launch.sh
RUN apt-get update && apt-get -y install \
xvfb \
x11vnc \
supervisor \
octave \
fluxbox \
octave \
git-core \
git

Expand All @@ -40,8 +47,8 @@ ADD novnc /root/novnc/
WORKDIR /scripts
ADD ./octave_scr /scripts

# Can be confiugured to set octave settings
#COPY qt-settings /root/.config/octave/qt-settings
# Can be configured to set octave settings
# COPY qt-settings /root/.config/octave/qt-settings

# Expose Port (Note: if you change it do it as well in surpervisord.conf)
EXPOSE 8083
Expand Down

0 comments on commit 82a8476

Please sign in to comment.