PHP 취약점 패치를 위해 PHP 버전 업그레이드 (7.3 -> 8.3) 스테이징 적용

This commit is contained in:
jisangs committed 2026-10-22 14:56:43 +09:00
1 parent a043234c2b
commit ace38c559c
2 files changed
+8 -4

No files matched your search

+5 -4
View File
@@ -1,8 +1,9 @@
FROM php:7.3-apache
FROM php:8.3-apache
RUN apt-get update && apt-get install -y libonig-dev \
&& docker-php-ext-install mysqli mbstring \
&& rm -rf /var/lib/apt/lists/*
# mbstring, curl 은 공식 이미지에 기본 포함. 빠져 있으면 빌드 단계에서 실패시킨다.
RUN docker-php-ext-install mysqli \
&& php -m | grep -qix mbstring \
&& php -m | grep -qix curl
RUN a2enmod rewrite