Skip to content

Commit

Permalink
afup#1437 upgrade node 14
Browse files Browse the repository at this point in the history
  • Loading branch information
stakovicz committed Oct 23, 2024
1 parent a067a02 commit 2cea3fc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker/dockerfiles/apachephp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ RUN a2enmod rewrite && \
echo "date.timezone=Europe/Paris" >> "/usr/local/etc/php/php.ini"

# Install NodeJS
RUN apt-get update && \
RUN curl -sS https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
echo "deb https://deb.nodesource.com/node_14.x $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/node.list && \
apt-get update && \
apt-get install -y \
build-essential \
gnupg \
Expand All @@ -50,7 +52,8 @@ RUN apt-get update && \
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
apt-get update && \
apt-get install -y yarn && \
apt-get install -y \
yarn && \
apt-get autoremove --purge -y && \
rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit 2cea3fc

Please sign in to comment.