Skip to content

Commit

Permalink
Install php-redis extension
Browse files Browse the repository at this point in the history
  • Loading branch information
alihm committed May 2, 2024
1 parent 8b2370c commit d19bfd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli
# Install Redis server package
RUN apt-get install -y redis-server

# Install php-redis extension
RUN pecl install redis \
&& docker-php-ext-enable redis

#Configure SSH server
RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config && \
sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config && \
Expand Down

0 comments on commit d19bfd4

Please sign in to comment.