Fixed Dockerfile

This commit is contained in:
Fergal Moran
2015-09-22 22:50:20 +01:00
parent 04d9de8370
commit f1c3592ff9

View File

@@ -2,6 +2,8 @@ FROM ubuntu:wily
MAINTAINER Fergal Moran "Ferg@lMoran.me" MAINTAINER Fergal Moran "Ferg@lMoran.me"
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN mkdir /code
RUN apt-get -qq -y update && \ RUN apt-get -qq -y update && \
apt-get -qq -y install icecast2 python-setuptools && \ apt-get -qq -y install icecast2 python-setuptools && \
apt-get clean apt-get clean
@@ -9,6 +11,9 @@ RUN apt-get -qq -y update && \
RUN easy_install supervisor && \ RUN easy_install supervisor && \
easy_install supervisor-stdout easy_install supervisor-stdout
WORKDIR /code
ADD requirements.txt /code
ADD icecast2/icecast.xml /etc/icecast2/ ADD icecast2/icecast.xml /etc/icecast2/
ADD default/icecast2 /etc/default/ ADD default/icecast2 /etc/default/
ADD supervisord.conf /etc/supervisord.conf ADD supervisord.conf /etc/supervisord.conf