-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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.
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 |
---|---|---|
@@ -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 | ||
|
@@ -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 | ||
|
||
|
@@ -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 | ||
|