This repository has been archived by the owner on Dec 3, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from micressor/feature/dockerfile
Add @micressor 's Dockerfile 👍
- Loading branch information
Showing
2 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters