Skip to content

Commit

Permalink
Updated Composer installation file hash in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Eurobertics committed May 4, 2022
1 parent 48a5d76 commit e245d2a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN pecl install redis && docker-php-ext-enable redis;
RUN pecl install memcached && docker-php-ext-enable memcached

RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
RUN php -r "if (hash_file('sha384', 'composer-setup.php') === '906a84df04cea2aa72f40b5f787e49f22d4c2f19492ac310e8cba5b96ac8b64115ac402c8cd292b8a03482574915d1a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
RUN php -r "if (hash_file('sha384', 'composer-setup.php') === '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
RUN php composer-setup.php
RUN mv composer.phar /usr/bin/composer
RUN php -r "unlink('composer-setup.php');"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Nebucord - Discord WebSocket and REST API


[![GitHub Release](https://img.shields.io/github/release/eurobertics/nebucord.svg?colorB=brightgreen&label=latest-stable)](https://github.com/eurobertics/nebucord)
[![GitHub Development](https://img.shields.io/badge/dev--master-v1.0.1-red.svg)](https://github.com/eurobertics/nebucord)
[![GitHub Development](https://img.shields.io/badge/dev--master-v1.0.2-red.svg)](https://github.com/eurobertics/nebucord)
[![Github commits (since latest release)](https://img.shields.io/github/commits-since/Eurobertics/nebucord/latest.svg)](https://github.com/Eurobertics/Nebucord)
[![GitHub license](https://img.shields.io/github/license/eurobertics/nebucord.svg)](https://github.com/Eurobertics/Nebucord/blob/master/LICENSE)

Expand Down
2 changes: 1 addition & 1 deletion src/Base/Nebucord_Status.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ abstract class Nebucord_Status {

const CLIENTBROWSER = 'NebucordWS API';
const CLIENTHOST = 'nebucordws.nebulatien.org';
const VERSION = '1.0.1';
const VERSION = '1.0.2';

/**
* Returns the OS.
Expand Down

0 comments on commit e245d2a

Please sign in to comment.