Skip to content

Commit

Permalink
Add missing libssl-dev library and remove explicit addition of npm
Browse files Browse the repository at this point in the history
  • Loading branch information
tharsheblows committed Mar 22, 2024
1 parent c4bd0f8 commit b87e7be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions local/docker/wordpress/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ RUN sed -i 's#/var/www#\${APACHE_DOCUMENT_ROOT}#g' /etc/apache2/apache2.conf /et
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
curl pv bash less default-mysql-client ssh git zip unzip sudo gnupg \
msmtp libz-dev libmemcached-dev libsecret-1-0 \
msmtp libz-dev libmemcached-dev libsecret-1-0 libssl-dev \
&& rm -rf /var/lib/apt/lists/*

# Install Node.js per recommended setup.
RUN 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_${NODE_VERSION}.x nodistro main" >> /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \
&& apt-get -y --no-install-recommends install nodejs npm \
&& apt-get -y --no-install-recommends install nodejs \
&& rm -rf /var/lib/apt/lists/*

# Install PHP Composer.
Expand Down

0 comments on commit b87e7be

Please sign in to comment.