Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
10bc0b45a1
|
||
|
|
49ee317de1
|
+21
-2
@@ -1,4 +1,4 @@
|
||||
FROM php:8.3-fpm-bookworm
|
||||
FROM php:8.2-fpm-bullseye
|
||||
#debian
|
||||
|
||||
ENV LC_ALL=C.UTF-8
|
||||
@@ -26,12 +26,31 @@ RUN debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
|
||||
pdo_mysql \
|
||||
mysqli \
|
||||
zip;
|
||||
RUN pecl install ds;
|
||||
RUN pecl install memcached 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;
|
||||
|
||||
@@ -14,9 +14,7 @@ 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
|
||||
|
||||
@@ -18,3 +18,4 @@ opcache.file_cache="/var/www/opcache"
|
||||
opcache.jit="function"
|
||||
|
||||
extension=ds.so
|
||||
extension=memcached.so
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM php:8.3-fpm-bookworm
|
||||
FROM php:8.2-fpm-bullseye
|
||||
#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 ds;
|
||||
RUN pecl install memcached ds;
|
||||
#from nextcloud setting
|
||||
RUN mkdir -p /var/www/board; \
|
||||
mkdir -p /var/www/.ssh;
|
||||
|
||||
Reference in New Issue
Block a user