1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/cmus/Dockerfile

23 lines
316 B
Docker
Raw Permalink Normal View History

2017-04-29 04:18:23 +02:00
#
# Dockerfile for cmus
#
FROM alpine
MAINTAINER EasyPi Software Foundation
RUN apk add --no-cache cmus
2017-04-29 06:04:18 +02:00
VOLUME /etc/cmus
WORKDIR /etc/cmus
2017-04-29 04:18:23 +02:00
2017-04-29 06:04:18 +02:00
ENV CMUS_HOME=/etc/cmus
2017-04-29 04:18:23 +02:00
ENV CMUS_SOCKET=0.0.0.0:3000
ENV USERNAME=root
ENV PASSWORD=secret
EXPOSE 3000
CMD set -xe \
&& echo "set passwd=$PASSWORD" > rc \
&& cmus