Created
March 23, 2020 13:42
-
-
Save kvaps/4879e4566edeb1cb5a2bb1d8424bbb68 to your computer and use it in GitHub Desktop.
Run old firefox with jre6 using docker
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
mkdir -p /tmp/1 | |
cd /tmp/1 | |
cat >Dockerfile <<\EOT | |
FROM i386/ubuntu:12.04 | |
RUN apt-get update \ | |
&& apt-get install -y firefox=11.0+build1-0ubuntu4 icedtea-6-plugin libstdc++5 | |
EOT | |
docker build -t firefox-jre . | |
xhost +local: | |
docker run -ti \ | |
-e DISPLAY=$DISPLAY -e MOZ_NO_REMOTE=1 \ | |
-v /tmp/.X11-unix:/tmp/.X11-unix -v $PWD:/1/ \ | |
--net=host firefox-jre firefox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment