Skip to content

Commit bde487e

Browse files
author
Nathan Heffley
committed
Use composer:latest
1 parent cc786e6 commit bde487e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Dockerfile

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.3-cli
1+
FROM composer:latest
22

33
LABEL "com.github.actions.name"="Laravel PHPUnit"
44
LABEL "com.github.actions.description"="A GitHub action to run your Laravel project's PHPUnit test suite."
@@ -9,10 +9,5 @@ LABEL "repository"="https://github.com/nathanheffley/laravel-phpunit-action"
99
LABEL "homepage"="https://github.com/nathanheffley/laravel-phpunit-action"
1010
LABEL "maintainer"="Nathan Heffley <[email protected]>"
1111

12-
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
13-
RUN php -r "if (hash_file('sha384', 'composer-setup.php') === 'a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
14-
RUN php composer-setup.php
15-
RUN php -r "unlink('composer-setup.php');"
16-
1712
ADD entrypoint.sh /entrypoint.sh
1813
ENTRYPOINT ["/entrypoint.sh"]

0 commit comments

Comments
 (0)