Devs.tw 是讓工程師寫筆記、網誌的平台。歡迎您隨手紀錄、寫作,方便日後搜尋!
────────────────────────────────────────────────────────────────────────────────
modified: php-fpm/Dockerfile
────────────────────────────────────────────────────────────────────────────────
@ php-fpm/Dockerfile:1123 @ RUN if [ ${INSTALL_PHPDECIMAL} = true ]; then \
;fi \
;fi
###########################################################################
# sockets:
###########################################################################
ARG INSTALL_SOCKET=true
RUN if [ ${INSTALL_SOCKET} = true ]; then \
# Install the sockets extension
docker-php-ext-install sockets \
;fi
###########################################################################
# zookeeper
###########################################################################
────────────────────────────────────────────────────────────────────────────────
modified: php-fpm/laravel.ini
────────────────────────────────────────────────────────────────────────────────
@ php-fpm/laravel.ini:10 @ log_errors=On
memory_limit = 256M
; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 20M
upload_max_filesize = 100M
; Sets max size of post data allowed.
; http://php.net/post-max-size
post_max_size = 20M
post_max_size = 100M
max_execution_time=600
default_socket_timeout=3600
request_terminate_timeout=600
────────────────────────────────────────────────────────────────────────────────
modified: workspace/Dockerfile
────────────────────────────────────────────────────────────────────────────────
@ workspace/Dockerfile:732 @ ENV NVM_NODEJS_ORG_MIRROR ${NVM_NODEJS_ORG_MIRROR}
RUN if [ ${INSTALL_NODE} = true ]; then \
# Install nvm (A Node Version Manager)
mkdir -p $NVM_DIR && \
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | b
ash \
# curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash \
# curl -o- https://monitor-majors.oss-cn-shenzhen.aliyuncs.com/install.sh|bash \
git clone https://github.com/nvm-sh/nvm.git .$NVM_DIR \
&& . $NVM_DIR/nvm.sh \
&& nvm install ${NODE_VERSION} \
&& nvm use ${NODE_VERSION} \