Porównaj commity

...

2 Commity

Autor SHA1 Wiadomość Data
Carlos Gomes d6dc460623 Fix Composer install method 2023-08-27 18:55:13 +02:00
Carlos Gomes fdcfa76de6 Update Node to v18 2023-08-27 18:45:35 +02:00
3 zmienionych plików z 8 dodań i 12 usunięć

Wyświetl plik

@ -23,7 +23,7 @@ jobs:
buildArgs: | buildArgs: |
PHP_VERSION=7.1 PHP_VERSION=7.1
DEPLOYER_VERSION=v6.6.0 DEPLOYER_VERSION=v6.6.0
COMPOSER_VERSION=2.2.18 COMPOSER_VERSION=2.2.21
env: env:
TAGGED_IMAGE: ${{ matrix.image }}:${{ matrix.tag }} TAGGED_IMAGE: ${{ matrix.image }}:${{ matrix.tag }}
TAGS: ${{ matrix.tag == matrix.latest && format('{0}:latest,', matrix.image) || '' }}${{ matrix.image }}:${{ matrix.tag }} TAGS: ${{ matrix.tag == matrix.latest && format('{0}:latest,', matrix.image) || '' }}${{ matrix.image }}:${{ matrix.tag }}

Wyświetl plik

@ -55,15 +55,11 @@ RUN \
# https://getcomposer.org/download/ # https://getcomposer.org/download/
ARG COMPOSER_VERSION="2.4.1" # latest-stable will be replaced by a version number for PHP 7.1
RUN \ ARG COMPOSER_VERSION="latest-stable"
curl -L "https://getcomposer.org/installer" --output "composer-setup.php" \ ADD --chmod=755 \
&& php -r "if (hash_file('sha384', 'composer-setup.php') === '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \ https://getcomposer.org/download/${COMPOSER_VERSION}/composer.phar \
&& php composer-setup.php \ /usr/local/bin/composer
--install-dir=/usr/local/bin \
--filename=composer \
--version=${COMPOSER_VERSION} \
&& rm "composer-setup.php"
ARG DEPLOYER_VERSION="v6.8.0" ARG DEPLOYER_VERSION="v6.8.0"
@ -97,7 +93,7 @@ RUN \
# https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions # https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions
RUN \ RUN \
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \ curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
&& apt-get install -y nodejs \ && apt-get install -y nodejs \
&& npm i -g yarn \ && npm i -g yarn \
&& apt-get autoremove -y --purge \ && apt-get autoremove -y --purge \

Wyświetl plik

@ -12,7 +12,7 @@ To deploy and transfer files, [Deployer](https://deployer.org), SSH, and RSync a
## This image includes: ## This image includes:
* [NodeJS 16.x and NPM](https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions) * [NodeJS 18.x and NPM](https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions)
* [Yarn - latest](https://classic.yarnpkg.com/en/docs/install/#debian-stable) * [Yarn - latest](https://classic.yarnpkg.com/en/docs/install/#debian-stable)
* PHP 8-cli, 7.1-cli * PHP 8-cli, 7.1-cli
* [Composer](https://getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md) (latest or v2.2.18 for php7.1) * [Composer](https://getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md) (latest or v2.2.18 for php7.1)