linux - Install Firefox on Tinycore (Docker) -
how install firefox on linux tinycore on docker container?
normally on debian go ahead , write in dockerfile:
run deb http://packages.linuxmint.com debian import run apt-get update run apt-get install firefox
but since deb
not available on tinycore, how in dockerfile?
you might want (for example): crux x-chat -- aside differences in linux dsitribution you'll want use same (if not similar) concepts x/xorg apps running inside docker containers.
the main points are:
- install firefox , x/xorg dependeninces part of
run
command indockerfile
run following and/or create shell script or function wrap nicely:
export xsock=/tmp/.x11-unix export xauth=/tmp/.docker.xauth
if [ ! -f $xauth ]; touch $xauth xauth nlist :0 | sed -e "s/^..../ffff/" | xauth -f $xauth nmerge - fi
docker run -i -t -e display -e user -e xauthority=$xauth -v $xsock:$xsock -v $xauth:$xauth --net=host
Comments
Post a Comment