master
Andy 7 years ago
parent 453006d511
commit 2eb4dca239
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC

@ -1,4 +1,4 @@
FROM ubuntu:xenial FROM ubuntu:zesty
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com> MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
# To avoid problems with Dialog and curses wizards # To avoid problems with Dialog and curses wizards

@ -1,12 +1,12 @@
version: '2.1' version: '2'
volumes: volumes:
data: {} data: {}
services: services:
firefox: firefox:
# docker build -t andrey01/firefox . # docker build -t local/firefox .
image: andrey01/firefox image: local/firefox
network_mode: bridge network_mode: bridge
devices: devices:
- /dev/dri - /dev/dri
@ -22,10 +22,12 @@ services:
- DISPLAY=unix$DISPLAY - DISPLAY=unix$DISPLAY
- PULSE_SERVER=unix:$XDG_RUNTIME_DIR/pulse/native - PULSE_SERVER=unix:$XDG_RUNTIME_DIR/pulse/native
- TZ=Europe/Amsterdam - TZ=Europe/Amsterdam
shm_size: 4G
mem_limit: 4G
# Turns off anonymous page swapping # Turns off anonymous page swapping
mem_swappiness: 0 mem_swappiness: 0
cap_add:
- IPC_LOCK # lock memory to prevent sensitive values from being swapped to disk.
# shm_size: 4G
# mem_limit: 4G
# For versions above: '3.0' # For versions above: '3.0'
# deploy: # deploy:

Loading…
Cancel
Save