updated and repaired

This commit is contained in:
ale 2021-12-04 01:19:46 +01:00
parent b48b1a7239
commit 87dfa8c45b
3 changed files with 24 additions and 5 deletions

View File

@ -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 \

View File

@ -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.

17
docker-compose.yml Normal file
View File

@ -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