Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alireaza/firefox
Firefox
https://github.com/alireaza/firefox
docker firefox
Last synced: 5 days ago
JSON representation
Firefox
- Host: GitHub
- URL: https://github.com/alireaza/firefox
- Owner: alireaza
- Created: 2020-05-24T07:43:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-07T15:03:17.000Z (over 2 years ago)
- Last Synced: 2025-01-07T21:02:43.976Z (about 1 month ago)
- Topics: docker, firefox
- Language: Dockerfile
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Firefox
## Build
Via GitHub repository
```bash
$ docker build --tag alireaza/firefox:$(date -u +%Y%m%d) --tag alireaza/firefox:latest https://github.com/alireaza/firefox.git
```## Run
```bash
$ docker run \
--interactive \
--tty \
--rm \
--mount="type=bind,source=/tmp/.X11-unix,target=/tmp/.X11-unix" \
--env="DISPLAY=$DISPLAY" \
--device="/dev/dri:/dev/dri" \
--env="PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native" \
--mount="type=bind,source=${XDG_RUNTIME_DIR}/pulse/native,target=${XDG_RUNTIME_DIR}/pulse/native" \
--env="TZ=$(cat /etc/timezone)" \
--cap-add=SYS_ADMIN \
--ipc host \
--mount="type=bind,source=/dev/shm,target=/dev/shm" \
--mount="type=bind,source=$(pwd)/udocker,target=/home/udocker" \
--name="firefox" \
alireaza/firefox
```