Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Run old firefox from docker
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
You can’t perform that action at this time.