Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1ba6a551f2 | ||
|
|
dbee326c4d | ||
|
|
2d507e501e | ||
|
|
e6816b15ef | ||
|
|
f358126cff | ||
|
|
3d72603c26 |
+2
-21
@@ -1,4 +1,4 @@
|
|||||||
FROM php:8.2-fpm-bullseye
|
FROM php:8.3-fpm-bookworm
|
||||||
#debian
|
#debian
|
||||||
|
|
||||||
ENV LC_ALL=C.UTF-8
|
ENV LC_ALL=C.UTF-8
|
||||||
@@ -26,31 +26,12 @@ RUN debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
|
|||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
mysqli \
|
mysqli \
|
||||||
zip;
|
zip;
|
||||||
RUN pecl install memcached ds;
|
RUN pecl install ds;
|
||||||
|
|
||||||
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
|
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
|
||||||
apt install -yq nodejs
|
apt install -yq nodejs
|
||||||
RUN npm install -g npm
|
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
|
#from nextcloud setting
|
||||||
RUN mkdir -p /var/www/html/; \
|
RUN mkdir -p /var/www/html/; \
|
||||||
mkdir -p /var/www/.ssh;
|
mkdir -p /var/www/.ssh;
|
||||||
|
|||||||
@@ -14,7 +14,9 @@ if [ ! -f "$samRoot/index.php" ]; then
|
|||||||
mkdir -p $samRoot
|
mkdir -p $samRoot
|
||||||
chown -R www-data:www-data $wwwRoot
|
chown -R www-data:www-data $wwwRoot
|
||||||
gosu www-data git clone $gameGitPath $samRoot
|
gosu www-data git clone $gameGitPath $samRoot
|
||||||
|
pushd $samRoot
|
||||||
gosu www-data git checkout $gameGitBranch
|
gosu www-data git checkout $gameGitBranch
|
||||||
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$HIDCHE_IMAGE_USE_INTERNAL" = "yes" ] && [ ! -d "$imageRoot" ]; then
|
if [ "$HIDCHE_IMAGE_USE_INTERNAL" = "yes" ] && [ ! -d "$imageRoot" ]; then
|
||||||
|
|||||||
@@ -18,4 +18,3 @@ opcache.file_cache="/var/www/opcache"
|
|||||||
opcache.jit="function"
|
opcache.jit="function"
|
||||||
|
|
||||||
extension=ds.so
|
extension=ds.so
|
||||||
extension=memcached.so
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM php:8.2-fpm-bullseye
|
FROM php:8.3-fpm-bookworm
|
||||||
#debian
|
#debian
|
||||||
|
|
||||||
ENV LC_ALL=C.UTF-8
|
ENV LC_ALL=C.UTF-8
|
||||||
@@ -23,7 +23,7 @@ RUN debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
|
|||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
mysqli \
|
mysqli \
|
||||||
zip;
|
zip;
|
||||||
RUN pecl install memcached ds;
|
RUN pecl install ds;
|
||||||
#from nextcloud setting
|
#from nextcloud setting
|
||||||
RUN mkdir -p /var/www/board; \
|
RUN mkdir -p /var/www/board; \
|
||||||
mkdir -p /var/www/.ssh;
|
mkdir -p /var/www/.ssh;
|
||||||
|
|||||||
Reference in New Issue
Block a user