Skip to content
This repository has been archived by the owner on Dec 3, 2018. It is now read-only.

Commit

Permalink
Merge pull request #52 from micressor/feature/dockerfile
Browse files Browse the repository at this point in the history
Add @micressor 's Dockerfile 👍
  • Loading branch information
Martin Gafner committed Mar 23, 2017
2 parents ea5c8c7 + 52929a0 commit a2d9f5b
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 0 deletions.
66 changes: 66 additions & 0 deletions Dockerfile
@@ -0,0 +1,66 @@
# Run fadecut build environment in a docker container

# Build this docker image:
# docker build -t fadecut .

# Run this docker image:
# docker run -v /home/YOURUSER/:/home/user/ -ti fadecut

FROM debian:testing
MAINTAINER Marco Balmer <marco@balmer.name>
ENV DEBIAN_FRONTEND noninteractive

RUN addgroup --gid 1000 user \
&& useradd -d /home/user -g user user

# build environment
RUN apt-get update && apt-get install -y \
build-essential \
git
# ca-certificates \
# dh-make \
# fakeroot \
# devscripts \
# debian-policy \
# gnu-standards \
# gnupg2 \
# gnupg-agent \
# developers-reference \
# openssh-client \
# less \
# locales-all \
# libdpkg-perl \
# git-buildpackage \
# quilt \
# lintian \
# piuparts \
# man

# special for build the package
RUN apt-get update && apt-get install -y \
vim \
vorbis-tools \
opus-tools \
lame \
sox \
libsox-fmt-mp3 \
streamripper \
id3v2 \
pandoc \
mediainfo

RUN cd /root && \
git clone https://github.com/fadecut/fadecut

RUN cd /root/fadecut && make && make test && make install && make clean

USER user
ENV HOME /home/user
ENV TERM xterm-256color
# a browser is necessary!
ENV BROWSER lynx
# set locale
ENV LANG de_CH.UTF-8

#CMD ["/usr/bin/fadecut"]
CMD ["bash"]
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -66,6 +66,13 @@ optional, for mp3 encoding:

apt-get install fadecut

### Dockerfile

apt-get install docker.io
docker build -t fadecut .
docker run -v /home/YOURUSER/:/home/user/ -ti fadecut
user@d76f02d351f5:~$ fadecut

### From source

cd ~/
Expand Down

0 comments on commit a2d9f5b

Please sign in to comment.