Bash Script Build and Push Containerfile

Getting started

  • Clone this repo

  • Build it!

podman build --rm --compress --force-rm -t ubi8minimal-firefox .
  • Run it!
podman run --rm \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /dev/dri:/dev/dri \
-v="$HOME/.Xauthority:/home/developer/.Xauthority:z" \
--security-opt=label=type:container_runtime_t \
-e DISPLAY  \
localhost/ubi8minimal-firefox

Getting started faster

podman run --rm \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /dev/dri:/dev/dri \
-v="$HOME/.Xauthority:/home/developer/.Xauthority:z" \
--security-opt=label=type:container_runtime_t \
-e DISPLAY  \
docker.io/tekappsrl/fip_firefox_inside_podman 

Inspired by: https://github.com/grzegorzk/ff_in_podman