Skip to content

Commit

Permalink
Merge pull request #27 from RunOnFlux/develop
Browse files Browse the repository at this point in the history
Install php-redis extension
  • Loading branch information
alihm authored May 2, 2024
2 parents 3a5d4f6 + d19bfd4 commit 00d03de
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 @@ -153,6 +153,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 00d03de

Please sign in to comment.