forked from MythTV/mythweb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Dockerfile for versioned builds
Signed-off-by: Stuart Auchterlonie <[email protected]> Closes pull request MythTV#17 MythTV#17
- Loading branch information
Showing
1 changed file
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|