Skip to content

Commit

Permalink
Revert back to set up script as the other node installation method wa…
Browse files Browse the repository at this point in the history
…s not working
  • Loading branch information
alextselegidis committed Jan 24, 2024
1 parent 061a157 commit 5e2d99a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions docker/php-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,14 @@ WORKDIR "/var/www/html"

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
ca-certificates \
gnupg \
git \
zip \
unzip \
&& curl -sSL https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - | sh -s \
curl gd intl ldap mbstring mysqli odbc pdo pdo_mysql soap sockets xml zip xdebug exif sqlite3 gettext bcmath csv event imap inotify mcrypt redis \
&& docker-php-ext-enable xdebug \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& NODE_MAJOR=18 \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \
&& curl -sLS https://deb.nodesource.com/setup_18.x | bash - \
&& apt-get install -y nodejs \
&& npm install -g npm \
&& apt-get install -q -y ssmtp mailutils \
Expand Down

0 comments on commit 5e2d99a

Please sign in to comment.