diff --git a/Dockerfile b/Dockerfile index db28eb4..49edad2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,14 +7,14 @@ # SOURCE: https://github.com/alexzeitgeist/docker-nero # Pull base image. -FROM debian:jessie +FROM debian MAINTAINER Alexander Turcic "alex@zeitgeist.se" # Install dependencies. RUN \ apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y \ - fonts-droid \ + fonts-droid-fallback \ libc6 \ libcanberra-gtk-module \ libglib2.0-0 \ diff --git a/README.md b/README.md index 7313c0b..29d54e0 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,9 @@ $ docker pull zeitgeist/docker-nero or download and compile the source yourself from Github: ```bash -$ git clone https://github.com/alexzeitgeist/docker-nero.git +$ git clone https://git.manalejandro.com/ale/docker-nero.git $ cd docker-nero -$ docker build -t zeitgeist/docker-nero . +$ docker build -t nero . ``` ## Usage @@ -36,7 +36,9 @@ docker run --rm \ -v /dev/snd:/dev/snd \ -v /dev/sr0:/dev/sr0 \ -v "${HOME}/temp":"/home/user/temp" \ -zeitgeist/docker-nero +nero + +or with docker-compose up -d ``` Where ${HOME}/temp is a shared volume from your host and /dev/sr0 your cdr device. diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..28e9df0 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3' +services: + nero: + build: . + image: nero + container_name: nero + hostname: nero + restart: always + volumes: + - /etc/localtime:/etc/localtime:ro + - /tmp/.X11-unix:/tmp/.X11-unix + - /dev/snd:/dev/snd + - /dev/sr0:/dev/sr0 + - ${HOME}/temp:/home/user/temp + environment: + - DISPLAY=unix$DISPLAY + privileged: true