Skip to content

Commit

Permalink
Build with memcache
Browse files Browse the repository at this point in the history
  • Loading branch information
austinwbest committed Nov 18, 2024
1 parent 88fafd7 commit 2cd6b6d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,15 @@ RUN \
grep -qxF 'clear_env = no' /etc/php82/php-fpm.d/www.conf || echo 'clear_env = no' >> /etc/php82/php-fpm.d/www.conf && \
echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /etc/php82/php-fpm.conf

# install sqlite3
RUN apk add --no-cache php82-sqlite3
RUN echo '@community http://dl-cdn.alpinelinux.org/alpine/v3.18/community/' >> /etc/apk/repositories && \
apk update && \
apk upgrade && \
apk --no-cache add \
# Database
php82-sqlite3 \
# Memcache
php82-pecl-memcache@community \
php82-pecl-memcached@community

# healthchecks
HEALTHCHECK --interval=60s --timeout=30s --start-period=180s --start-interval=10s --retries=5 \
Expand Down

0 comments on commit 2cd6b6d

Please sign in to comment.