6 Commits
Author SHA1 Message Date
Hide_D 1ba6a551f2 memcached 제거 2024-05-17 17:23:54 +00:00
Hide_D dbee326c4d pecl 옵션 변경
- 왜 memcached가 안되나
2024-05-17 17:21:35 +00:00
Hide_D 2d507e501e php version up 2024-05-17 17:17:29 +00:00
Hide_D e6816b15ef php 버전업 2024-05-17 17:14:36 +00:00
Hide_D f358126cff php version upgrade 2024-05-17 16:53:06 +00:00
Hide_D 3d72603c26 build script 누락 2024-05-17 16:13:43 +00:00
4 changed files with 7 additions and 25 deletions
+2 -21
View File
@@ -1,4 +1,4 @@
FROM php:8.2-fpm-bullseye
FROM php:8.3-fpm-bookworm
#debian
ENV LC_ALL=C.UTF-8
@@ -26,31 +26,12 @@ RUN debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
pdo_mysql \
mysqli \
zip;
RUN pecl install memcached ds;
RUN pecl install ds;
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
apt install -yq nodejs
RUN npm install -g npm
ARG XDEBUG=0
#xdebug
RUN if [ "$XDEBUG" != "0" ]; then \
pecl install xdebug; \
docker-php-ext-enable xdebug; \
fi;
# 환경 설정을 나누기 위해.
RUN if [ "$XDEBUG" != "0" ]; then \
{\
echo "[xdebug]"; \
echo "xdebug.mode=profile"; \
echo "xdebug.profiler_append=1"; \
echo "xdebug.start_with_request=trigger"; \
echo "xdebug.trigger_value=XDEBUGPROFILE"; \
echo 'xdebug.output_dir="/var/www/html/sam/d_log"'; \
} >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini; \
fi;
#from nextcloud setting
RUN mkdir -p /var/www/html/; \
mkdir -p /var/www/.ssh;
+2
View File
@@ -14,7 +14,9 @@ if [ ! -f "$samRoot/index.php" ]; then
mkdir -p $samRoot
chown -R www-data:www-data $wwwRoot
gosu www-data git clone $gameGitPath $samRoot
pushd $samRoot
gosu www-data git checkout $gameGitBranch
popd
fi
if [ "$HIDCHE_IMAGE_USE_INTERNAL" = "yes" ] && [ ! -d "$imageRoot" ]; then
-1
View File
@@ -18,4 +18,3 @@ opcache.file_cache="/var/www/opcache"
opcache.jit="function"
extension=ds.so
extension=memcached.so
+2 -2
View File
@@ -1,4 +1,4 @@
FROM php:8.2-fpm-bullseye
FROM php:8.3-fpm-bookworm
#debian
ENV LC_ALL=C.UTF-8
@@ -23,7 +23,7 @@ RUN debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
pdo_mysql \
mysqli \
zip;
RUN pecl install memcached ds;
RUN pecl install ds;
#from nextcloud setting
RUN mkdir -p /var/www/board; \
mkdir -p /var/www/.ssh;