Skip to content

Commit 04f206c

Browse files
committed
Build with memcache
1 parent 88fafd7 commit 04f206c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,14 @@ RUN \
1515
grep -qxF 'clear_env = no' /etc/php82/php-fpm.d/www.conf || echo 'clear_env = no' >> /etc/php82/php-fpm.d/www.conf && \
1616
echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /etc/php82/php-fpm.conf
1717

18-
# install sqlite3
18+
# install sqlite3
1919
RUN apk add --no-cache php82-sqlite3
2020

21+
# install memcached
22+
RUN apk add --no-cache \
23+
php82-pecl-memcache@community \
24+
php82-pecl-memcached@community
25+
2126
# healthchecks
2227
HEALTHCHECK --interval=60s --timeout=30s --start-period=180s --start-interval=10s --retries=5 \
2328
CMD curl -f http://localhost/health.html > /dev/null || exit 1

0 commit comments

Comments
 (0)