Skip to content

Commit

Permalink
Updated Dockerfile for versioned builds
Browse files Browse the repository at this point in the history
Signed-off-by: Stuart Auchterlonie <[email protected]>
Closes pull request MythTV#17
MythTV#17
  • Loading branch information
Paul Shannon authored and stuarta committed Jul 20, 2016
1 parent d2469d2 commit a8ee1b4
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# backends and database connections
################################################################################

FROM ubuntu:14.10
FROM ubuntu:14.04
MAINTAINER Rob Smith <[email protected]>

RUN apt-get update
Expand All @@ -30,14 +30,16 @@ EXPOSE 80
RUN rm -rvf /var/www/html/*

# Pull down bindings
ADD https://github.com/MythTV/mythtv/raw/master/mythtv/bindings/php/MythBackend.php /var/www/html/classes/
ADD https://github.com/MythTV/mythtv/raw/master/mythtv/bindings/php/MythBase.php /var/www/html/classes/
ADD https://github.com/MythTV/mythtv/raw/master/mythtv/bindings/php/MythFrontend.php /var/www/html/classes/
ADD https://github.com/MythTV/mythtv/raw/master/mythtv/bindings/php/MythTV.php /var/www/html/classes/
ADD https://github.com/MythTV/mythtv/raw/master/mythtv/bindings/php/MythTVChannel.php /var/www/html/classes/
ADD https://github.com/MythTV/mythtv/raw/master/mythtv/bindings/php/MythTVProgram.php /var/www/html/classes/
ADD https://github.com/MythTV/mythtv/raw/master/mythtv/bindings/php/MythTVRecording.php /var/www/html/classes/
ADD https://github.com/MythTV/mythtv/raw/master/mythtv/bindings/php/MythTVStorageGroup.php /var/www/html/classes/
ENV MYTHTV_BRANCH master
ENV MYTHTV_SCM_BASE https://raw.githubusercontent.com/MythTV/mythtv/${MYTHTV_BRANCH}
ADD ${MYTHTV_SCM_BASE}/mythtv/bindings/php/MythBackend.php /var/www/html/classes/
ADD ${MYTHTV_SCM_BASE}/mythtv/bindings/php/MythBase.php /var/www/html/classes/
ADD ${MYTHTV_SCM_BASE}/mythtv/bindings/php/MythFrontend.php /var/www/html/classes/
ADD ${MYTHTV_SCM_BASE}/mythtv/bindings/php/MythTV.php /var/www/html/classes/
ADD ${MYTHTV_SCM_BASE}/mythtv/bindings/php/MythTVChannel.php /var/www/html/classes/
ADD ${MYTHTV_SCM_BASE}/mythtv/bindings/php/MythTVProgram.php /var/www/html/classes/
ADD ${MYTHTV_SCM_BASE}/mythtv/bindings/php/MythTVRecording.php /var/www/html/classes/
ADD ${MYTHTV_SCM_BASE}/mythtv/bindings/php/MythTVStorageGroup.php /var/www/html/classes/

ADD mythweb.conf.apache /etc/apache2/sites-enabled/mythweb.conf
ADD . /var/www/html
Expand Down

0 comments on commit a8ee1b4

Please sign in to comment.