Upgrade Composer and Node Source install

master
Carlos Gomes 2023-11-09 22:25:23 +01:00
rodzic 35a7a7c949
commit 1d0edbcf39
Nie znaleziono w bazie danych klucza dla tego podpisu
4 zmienionych plików z 16 dodań i 6 usunięć

Wyświetl plik

@ -16,12 +16,13 @@ jobs:
latest: [php8]
include:
- tag: php8
buildArgs: ""
- tag: php7.4
buildArgs: |
PHP_VERSION=7.4
DEPLOYER_VERSION=v6.6.0
COMPOSER_VERSION=2.2.21
- tag: php7.1
buildArgs: |

Wyświetl plik

@ -7,6 +7,8 @@ RUN \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends \
apt-transport-https \
ca-certificates \
gnupg \
curl \
default-mysql-client \
dirmngr \
@ -93,7 +95,12 @@ RUN \
# https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions
RUN \
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
sudo mkdir -p /etc/apt/keyrings \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key \
| gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" \
| tee /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \
&& apt-get install -y nodejs \
&& npm i -g yarn \
&& apt-get autoremove -y --purge \

Wyświetl plik

@ -14,6 +14,8 @@ build_74:
-f $(TARGET) \
--load \
--build-arg=PHP_VERSION="7.4" \
--build-arg=DEPLOYER_VERSION="v6.6.0" \
--build-arg=COMPOSER_VERSION="latest-2.2.x" \
-t $(IMAGE):php7.4 \
build_71:
@ -22,5 +24,5 @@ build_71:
--load \
--build-arg=PHP_VERSION="7.1" \
--build-arg=DEPLOYER_VERSION="v6.6.0" \
--build-arg=COMPOSER_VERSION="2.2.18" \
--build-arg=COMPOSER_VERSION="latest-2.2.x" \
-t $(IMAGE):php7.1 \

Wyświetl plik

@ -13,10 +13,10 @@ To deploy and transfer files, [Deployer](https://deployer.org), SSH, and RSync a
## This image includes:
* [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 - classic](https://classic.yarnpkg.com/en/docs/install/#debian-stable)
* 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)
* [Deployer](https://deployer.org) (v6.8.0 or v6.6.0 for php7.1)
* [Composer](https://getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md) (latest or v2.2.x for php7.x)
* [Deployer](https://deployer.org) (v6.9.0 or v6.6.0 for php7.x)
* OpenSSH client
* Git
* RSync