Last active
December 18, 2018 09:40
-
-
Save zehome/4787329b3402b48e7ea2c5c9916d98bc to your computer and use it in GitHub Desktop.
Run old firefox from 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
outd=$(mktemp -d); echo -e "FROM ubuntu:trusty\nRUN apt-get update && \ | |
apt-get -qqy install firefox icedtea-netx\nRUN adduser --system --shell /bin/bash --uid $UID --disabled-password xuser\nUSER xuser" >$outd/Dockerfile && \ | |
docker build -t oldfirefox $outd && rm $outd/Dockerfile && rm -r $outd && \ | |
docker run -it --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix oldfirefox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment