diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2024-06-18 13:21:26 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2024-06-18 13:21:26 +0200 |
| commit | ab3352dec1bc28b5b828b35afb5f2d974d6c3fb1 (patch) | |
| tree | c0781f640cb8b5b63808ee5bd1ef0fb29c429b2c /docker/tests/php83 | |
| parent | f32966b5a9d88f780d440c1e731ba5649a0df904 (diff) | |
fix npm in dockerfile, re #3935, re #4285
Diffstat (limited to 'docker/tests/php83')
| -rw-r--r-- | docker/tests/php83/Dockerfile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/tests/php83/Dockerfile b/docker/tests/php83/Dockerfile index b93795a..54bb541 100644 --- a/docker/tests/php83/Dockerfile +++ b/docker/tests/php83/Dockerfile @@ -16,7 +16,10 @@ RUN docker-php-ext-configure gd --with-jpeg=/usr/include/ --with-webp RUN docker-php-ext-install -j$(nproc) gd gettext intl mysqli pdo_mysql zip # Install node/npm -COPY --from=node:18-slim /usr/local/bin /usr/local/bin +RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - +RUN apt update && apt install -y --no-install-recommends nodejs \ + curl apt-transport-https ca-certificates gnupg unzip git \ + && rm -rf /var/lib/apt/lists/* # Install composer COPY --from=composer /usr/bin/composer /usr/bin/composer |
