Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,22 @@
# VERSION 0.1
# DOCKER-VERSION 0.2

from f69m/ubuntu32:14.04
from f69m/ubuntu32:16.04

# make sure the package repository is up to date
run echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
run echo "deb http://archive.ubuntu.com/ubuntu xenial main universe" > /etc/apt/sources.list
run apt-get update

# Install vnc, xvfb in order to create a 'fake' display and firefox
run apt-get install -y x11vnc xvfb openbox

# Install the specific tzdata-java we need
run apt-get -y install wget
run wget --no-check-certificate https://launchpad.net/ubuntu/+archive/primary/+files/tzdata-java_2016d-0ubuntu0.14.04_all.deb
run dpkg -i tzdata-java_2016d-0ubuntu0.14.04_all.deb
run apt-get install -y tzdata
run wget --no-check-certificate http://archive.ubuntu.com/ubuntu/pool/main/t/tzdata/tzdata_2021a-0ubuntu0.16.04_all.deb
run dpkg -i tzdata_2021a-0ubuntu0.16.04_all.deb

# Install Firefox and Java Plugins
run apt-get install -y firefox icedtea-6-plugin icedtea-netx openjdk-6-jre openjdk-6-jre-headless tzdata-java
run apt-get install -y firefox icedtea-8-plugin icedtea-netx openjdk-8-jre openjdk-8-jre-headless
run mkdir ~/.vnc

# Autostart firefox (might not be the best way to do it, but it does the trick)
Expand Down
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
docker-firefox-java
docker-drac-java (from docker-firefox-java)
==============

Firefox over Docker via VNC including the necessary Java plugins to support working with a bunch of old Java/Web based management interfaces, such as old Dell DRAC, or Brocade FC switches. This is the product of not being able to access old Dell 1950 servers using current browsers. This Docker image provides an easy way to spin up a browser with full support.
Expand All @@ -10,18 +10,15 @@ How to execute:
1. Build the docker image


docker build -t="ktelep/docker-firefox-java" .
docker build -t="docker-drac-java" .


2. Start the container


docker run -p 5900:5900 ktelep/docker-firefox-java x11vnc -forever -create
docker run -tid -p 5900:5900 --dns=10.95.48.36 --dns-search=hi.inet --name drac -v /Users/jmp/Downloads:/downloads drac-java-console x11vnc -forever -create


3. Connect to Firefox using your VNC client of choice on port 5900


You may wish to add a -v <localpath>:<containerpath> if you want to use Virtual Media or the like to mount ISOs for loading Operating Systems/etc. on servers.