Rob Austein 56d82f8631 Java almost sorta kinda working | 5 år sedan | |
---|---|---|
.dockerignore | 5 år sedan | |
.gitignore | 5 år sedan | |
Dockerfile | 5 år sedan | |
Makefile | 5 år sedan | |
README.md | 5 år sedan | |
create.sh | 5 år sedan | |
menu | 5 år sedan | |
ratpoisonrc | 5 år sedan | |
run.sh | 5 år sedan | |
startup.sh | 5 år sedan |
Waterfox running under Xvnc inside a Docker container, a demented tool to solve a demented problem.
Occasionally one needs to run dangerous code in a web brower, eg, some dodgy Java app which is the only available interface to some critical resource. Running this in one's normal web browser is a bad idea.
So what one really wants here is a burner web browser. Here you go.
See create.sh
and run.sh
for ways one might use the image.
Something along the lines of the run.sh
formulation might work well
as the command portion of a tunneling ssh -L 5900:127.0.0.1:5900
command.
This version is based on Ubuntu rather than Debian, because I was trying to get the icedtea-web Java Plugin stuff to work. Didn't work, but then I tried a recipe for getting Java SE instead of OpenJDK, and that does seem to work. Might work equally well on Debian.
Sadly, this approach requires one to download JRE directly from Oracle, get an account, and check through a license agreement, so I can't just give it away, you'll have to download the JRE yourself.