mirror of
https://github.com/librespeed/speedtest.git
synced 2026-06-28 04:42:06 +00:00
Merge pull request #800 from akirayamamoto/experiment/alpine-base-no-php
Drop FROM php:8-alpine in favor of FROM alpine:3.23 (~55% smaller image)
This commit is contained in:
commit
c11ee9f68a
1 changed files with 3 additions and 7 deletions
|
|
@ -1,7 +1,9 @@
|
|||
FROM php:8-alpine
|
||||
FROM alpine:3.23
|
||||
RUN apk add --quiet --no-cache \
|
||||
bash \
|
||||
apache2 \
|
||||
ca-certificates \
|
||||
php \
|
||||
php-apache2 \
|
||||
php-ctype \
|
||||
php-phar \
|
||||
|
|
@ -15,12 +17,6 @@ RUN apk add --quiet --no-cache \
|
|||
php-session \
|
||||
php-sqlite3
|
||||
|
||||
# # use docker-php-extension-installer for automatically get the right packages installed
|
||||
# ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
||||
|
||||
# # Install extensions
|
||||
# RUN install-php-extensions iconv gd pdo pdo_mysql pdo_pgsql pgsql
|
||||
|
||||
RUN ln -sf /dev/stdout /var/log/apache2/access.log && \
|
||||
ln -sf /dev/stderr /var/log/apache2/error.log
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue