Skip to content

Commit

Permalink
Update composer
Browse files Browse the repository at this point in the history
  • Loading branch information
dmohns committed Nov 20, 2024
1 parent b5949a0 commit f71887d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/DockerfileBackendDev
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ RUN docker-php-ext-configure pcntl --enable-pcntl
# install composer
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
RUN php -r "if (hash_file('sha384', 'composer-setup.php') === 'dac665fdc30fdd8ec78b38b9800061b4150413ff2e3b6f88543c636f7cd84f6db9189d43a81e5503cda447da73c7e5b6') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
RUN php composer-setup.php --version=2.7.9
RUN php composer-setup.php --version=2.8.3
RUN php -r "unlink('composer-setup.php');"
RUN mv composer.phar /usr/local/bin/composer

Expand Down
2 changes: 1 addition & 1 deletion docker/DockerfileBackendProd
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ RUN docker-php-ext-configure pcntl --enable-pcntl
# install composer
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
RUN php -r "if (hash_file('sha384', 'composer-setup.php') === 'dac665fdc30fdd8ec78b38b9800061b4150413ff2e3b6f88543c636f7cd84f6db9189d43a81e5503cda447da73c7e5b6') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
RUN php composer-setup.php --version=2.7.9
RUN php composer-setup.php --version=2.8.3
RUN php -r "unlink('composer-setup.php');"
RUN mv composer.phar /usr/local/bin/composer

Expand Down

0 comments on commit f71887d

Please sign in to comment.