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>
# To avoid problems with Dialog and curses wizards

@ -1,12 +1,12 @@
version: '2.1'
version: '2'
volumes:
data: {}
services:
firefox:
# docker build -t andrey01/firefox .
image: andrey01/firefox
# docker build -t local/firefox .
image: local/firefox
network_mode: bridge
devices:
- /dev/dri
@ -22,10 +22,12 @@ services:
- DISPLAY=unix$DISPLAY
- PULSE_SERVER=unix:$XDG_RUNTIME_DIR/pulse/native
- TZ=Europe/Amsterdam
shm_size: 4G
mem_limit: 4G
# Turns off anonymous page swapping
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'
# deploy:

Loading…
Cancel
Save