docker-headphones/Dockerfile

28 lines
616 B
Text
Raw Normal View History

2015-07-30 10:27:41 -05:00
FROM linuxserver/baseimage
2015-07-15 11:10:00 -05:00
MAINTAINER smdion <me@seandion.com>
2015-07-30 11:14:13 -05:00
ENV LC_ALL C.UTF-8
ENV LANG en_US.UTF-8
2015-07-30 10:27:41 -05:00
2015-07-15 11:10:00 -05:00
# Use baseimage-docker's init system
CMD ["/sbin/my_init"]
# Install Dependencies
2015-08-24 09:23:07 +02:00
RUN add-apt-repository ppa:mc3man/trusty-media && \
apt-get update && \
apt-get install -qy git mc ffmpeg python wget && \
apt-get clean && rm -rf /var/lib/apt/lists/* /var/tmp/*
2015-07-15 11:10:00 -05:00
#Adding Custom files
ADD init/ /etc/my_init.d/
ADD services/ /etc/service/
2015-07-15 19:20:45 +02:00
ADD defaults/ /defaults
2015-07-15 11:10:00 -05:00
RUN chmod -v +x /etc/service/*/run
RUN chmod -v +x /etc/my_init.d/*.sh
2015-07-30 18:22:56 +02:00
#Volumes and Ports
EXPOSE 8181
2015-08-24 09:23:07 +02:00
VOLUME ["/config", "/downloads", "/music"]
2015-07-30 18:22:56 +02:00