1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-22 05:09:09 +02:00
dockerfiles/cmus/Dockerfile

23 lines
316 B
Docker
Raw Normal View History

2017-04-29 10:18:23 +08:00
#
# Dockerfile for cmus
#
FROM alpine
MAINTAINER EasyPi Software Foundation
RUN apk add --no-cache cmus
2017-04-29 12:04:18 +08:00
VOLUME /etc/cmus
WORKDIR /etc/cmus
2017-04-29 10:18:23 +08:00
2017-04-29 12:04:18 +08:00
ENV CMUS_HOME=/etc/cmus
2017-04-29 10:18:23 +08: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