diff --git a/Dockerfile b/Dockerfile index af5730b..3694fd2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ FROM php:7.2-cli ENV dir /home/app RUN useradd -ms /bin/bash app +RUN apt-get install git RUN curl -s https://getcomposer.org/installer | php RUN mv composer.phar /usr/local/bin/composer @@ -16,6 +17,6 @@ WORKDIR ${dir} USER app -RUN composer require jw-player/jwplatform-php +RUN composer require jw-player/jwplatform-php:* CMD [ "php", "examples/upload_video.php" ] diff --git a/VERSION b/VERSION deleted file mode 100644 index dc1e644..0000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -1.6.0 diff --git a/composer.json b/composer.json index 745fc95..10445d1 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "minimum-stability": "dev", "prefer-stable": true, "homepage": "https://developer.jwplayer.com/jw-platform/", - "version": "1.5.0", + "version": "v1.6.1", "license": "MIT", "authors": [ { diff --git a/src/Client.php b/src/Client.php index af6d404..d5620f8 100644 --- a/src/Client.php +++ b/src/Client.php @@ -3,7 +3,7 @@ namespace Jwplayer; class JwplatformAPI { - private $_version = '1.6'; + private $_version = '1.6.1'; private $_url = 'https://api.jwplatform.com/v1'; private $_library;