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 in dockerfile
  • 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

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -