Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions wp-plugin-base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM php:7.1-apache
FROM php:7.4-apache

LABEL maintainer="Thrijith Thankachan <thrijith13@gmail.com>"
LABEL maintainer="Thrijith Thankachan <thrijith13@gmail.com>, Riddhesh Sanghvi <riddhesh.sanghvi@rtcamp.com>"

# Install basic requirements
# Install Node (with NPM), and Yarn (via package manager for Debian)
Expand All @@ -18,7 +18,7 @@ RUN apt update \
bzip2 \
libbz2-dev \
zlib1g-dev \
mysql-client \
mariadb-client \
libfontconfig \
libfreetype6-dev \
libjpeg62-turbo-dev \
Expand All @@ -29,7 +29,7 @@ RUN apt update \
libmcrypt-dev \
gnupg \
subversion rsync \
&& curl -sL https://deb.nodesource.com/setup_8.x | bash - \
&& curl -sL https://deb.nodesource.com/setup_12.x | bash - \
&& apt update \
&& apt install -y nodejs \
&& apt clean -y && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
Expand All @@ -44,7 +44,7 @@ ENV COMPOSER_HOME /composer
ENV COMPOSER_VERSION 1.8.4

RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
&& php -r "if (hash_file('sha384', 'composer-setup.php') === '48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
&& php -r "if (hash_file('sha384', 'composer-setup.php') === 'e0012edf3e80b6978849f5eff0d4b4e4c79ff1609dd1e613307e16318854d24ae64f26d17af3ef0bf7cfb710ca74755a') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
&& php composer-setup.php --no-ansi --install-dir=/usr/bin --filename=composer --version=${COMPOSER_VERSION} \
&& php -r "unlink('composer-setup.php');" \
&& composer --ansi --version --no-interaction
Expand Down