Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compose up -d nginx error with node on Centos #2333

Closed
jakseer opened this issue Oct 19, 2019 · 5 comments
Closed

compose up -d nginx error with node on Centos #2333

jakseer opened this issue Oct 19, 2019 · 5 comments
Labels

Comments

@jakseer
Copy link

jakseer commented Oct 19, 2019

Info:

  • Docker version ($ docker --version):

Client: Docker Engine - Community
Version: 19.03.4
API version: 1.40
Go version: go1.12.10
Git commit: 9013bf583a
Built: Fri Oct 18 15:52:22 2019
OS/Arch: linux/amd64
Experimental: false

Server: Docker Engine - Community
Engine:
Version: 19.03.4
API version: 1.40 (minimum version 1.12)
Go version: go1.12.10
Git commit: 9013bf583a
Built: Fri Oct 18 15:50:54 2019
OS/Arch: linux/amd64
Experimental: true
containerd:
Version: 1.2.10
GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339
runc:
Version: 1.0.0-rc8+dev
GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
docker-init:
Version: 0.18.0
GitCommit: fec3683


  • Laradock commit ($ git rev-parse HEAD):
    04c6aaf3389ebd30e2874788b90437f229effb0b

  • System info (Mac, PC, Linux):
    Centos

  • System info disto/version:
    Linux VM_67_197_centos 3.10.0-514.26.2.el7.x86_64 Add a Gitter chat badge to README.md #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Issue:

I want to build a nginx envirment for my blog but failed with error when i exec docker-compose up -d nginx, next is the output after exec docker-compose up -d nginx:

Building workspace
Step 1/223 : ARG LARADOCK_PHP_VERSION
Step 2/223 : FROM laradock/workspace:2.5-${LARADOCK_PHP_VERSION}
 ---> f46add99cf6d
Step 3/223 : LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
 ---> Using cache
 ---> fb8cfdc9520f
Step 4/223 : ARG LARADOCK_PHP_VERSION
 ---> Using cache
 ---> 2d05c1bd8478
Step 5/223 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> 79fb27bf3019
Step 6/223 : USER root
 ---> Using cache
 ---> 8132aa541f02
Step 7/223 : ARG PUID=1000
 ---> Using cache
 ---> fc4bbb4c27ac
Step 8/223 : ENV PUID ${PUID}
 ---> Using cache
 ---> 785872d41acf
Step 9/223 : ARG PGID=1000
 ---> Using cache
 ---> 697ac558b90a
Step 10/223 : ENV PGID ${PGID}
 ---> Using cache
 ---> a3f32a0dfe07
Step 11/223 : RUN set -xe;     apt-get update -yqq &&     pecl channel-update pecl.php.net &&     groupadd -g ${PGID} laradock &&     useradd -u ${PUID} -g laradock -m laradock -G docker_env &&     usermod -p "*" laradock -s /bin/bash &&     apt-get install -yqq       apt-utils       libzip-dev zip unzip       php${LARADOCK_PHP_VERSION}-zip       nasm &&       php -m | grep -q 'zip'
 ---> Using cache
 ---> d5fffefb980f
Step 12/223 : ARG TZ=UTC
 ---> Using cache
 ---> 2412a6fbf405
Step 13/223 : ENV TZ ${TZ}
 ---> Using cache
 ---> beb3480beed7
Step 14/223 : RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
 ---> Using cache
 ---> 2750f0f14e98
Step 15/223 : USER root
 ---> Using cache
 ---> 19a20b36091f
Step 16/223 : COPY ./aliases.sh /root/aliases.sh
 ---> Using cache
 ---> e8e64bf89143
Step 17/223 : COPY ./aliases.sh /home/laradock/aliases.sh
 ---> Using cache
 ---> e27a6114cc63
Step 18/223 : RUN sed -i 's/\r//' /root/aliases.sh &&     sed -i 's/\r//' /home/laradock/aliases.sh &&     chown laradock:laradock /home/laradock/aliases.sh &&     echo "" >> ~/.bashrc &&     echo "# Load Custom Aliases" >> ~/.bashrc &&     echo "source ~/aliases.sh" >> ~/.bashrc && 	  echo "" >> ~/.bashrc
 ---> Using cache
 ---> f795339267ac
Step 19/223 : USER laradock
 ---> Using cache
 ---> 95355568bebc
Step 20/223 : RUN echo "" >> ~/.bashrc &&     echo "# Load Custom Aliases" >> ~/.bashrc &&     echo "source ~/aliases.sh" >> ~/.bashrc && 	  echo "" >> ~/.bashrc
 ---> Using cache
 ---> be793871c026
Step 21/223 : USER root
 ---> Using cache
 ---> bf8d9012f626
Step 22/223 : COPY ./composer.json /home/laradock/.composer/composer.json
 ---> Using cache
 ---> 099bdd70e917
Step 23/223 : COPY ./auth.json /home/laradock/.composer/auth.json
 ---> Using cache
 ---> 6a79aa95af56
Step 24/223 : RUN chown -R laradock:laradock /home/laradock/.composer
 ---> Using cache
 ---> 11c39bec27bf
Step 25/223 : RUN echo "" >> ~/.bashrc &&     echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' >> ~/.bashrc
 ---> Using cache
 ---> 73ef9da4766d
Step 26/223 : USER laradock
 ---> Using cache
 ---> 803f2a9d7e17
Step 27/223 : ARG COMPOSER_GLOBAL_INSTALL=false
 ---> Using cache
 ---> 3d2f83a24d64
Step 28/223 : ENV COMPOSER_GLOBAL_INSTALL ${COMPOSER_GLOBAL_INSTALL}
 ---> Using cache
 ---> edb463a8a19b
Step 29/223 : RUN if [ ${COMPOSER_GLOBAL_INSTALL} = true ]; then     composer global install ;fi
 ---> Using cache
 ---> 21480d88faa7
Step 30/223 : ARG COMPOSER_AUTH=false
 ---> Using cache
 ---> 341bc8dc8d1a
Step 31/223 : ENV COMPOSER_AUTH ${COMPOSER_AUTH}
 ---> Using cache
 ---> 6c4add27d508
Step 32/223 : RUN if [ ${COMPOSER_AUTH} = false ]; then     rm /home/laradock/.composer/auth.json ;fi
 ---> Using cache
 ---> 008c735c03ac
Step 33/223 : ARG COMPOSER_REPO_PACKAGIST
 ---> Using cache
 ---> edba256ba2ea
Step 34/223 : ENV COMPOSER_REPO_PACKAGIST ${COMPOSER_REPO_PACKAGIST}
 ---> Using cache
 ---> 436b02319793
Step 35/223 : RUN if [ ${COMPOSER_REPO_PACKAGIST} ]; then     composer config -g repo.packagist composer ${COMPOSER_REPO_PACKAGIST} ;fi
 ---> Using cache
 ---> d5b9d36c6819
Step 36/223 : RUN echo "" >> ~/.bashrc &&     echo 'export PATH="~/.composer/vendor/bin:$PATH"' >> ~/.bashrc
 ---> Using cache
 ---> 9d914c90d752
Step 37/223 : USER laradock
 ---> Using cache
 ---> 5712166e6592
Step 38/223 : RUN echo "" >> ~/.bashrc &&     echo 'export PATH="/var/www/vendor/bin:$PATH"' >> ~/.bashrc
 ---> Using cache
 ---> 4f539dbb1dcf
Step 39/223 : USER root
 ---> Using cache
 ---> 189164053891
Step 40/223 : COPY ./crontab /etc/cron.d
 ---> Using cache
 ---> 4789c67bd0d2
Step 41/223 : RUN chmod -R 644 /etc/cron.d
 ---> Using cache
 ---> 4456d0c39aba
Step 42/223 : USER root
 ---> Using cache
 ---> 99833fe951a1
Step 43/223 : ARG INSTALL_DRUSH=false
 ---> Using cache
 ---> 23c5026d0018
Step 44/223 : ARG DRUSH_VERSION
 ---> Using cache
 ---> 82b1b20cc476
Step 45/223 : ENV DRUSH_VERSION ${DRUSH_VERSION}
 ---> Using cache
 ---> 5f7cd96c6821
Step 46/223 : RUN if [ ${INSTALL_DRUSH} = true ]; then     apt-get -y install mysql-client &&     curl -fsSL -o /usr/local/bin/drush https://github.com/drush-ops/drush/releases/download/${DRUSH_VERSION}/drush.phar | bash &&     chmod +x /usr/local/bin/drush &&     drush core-status ;fi
 ---> Using cache
 ---> 48e1b4571671
Step 47/223 : USER root
 ---> Using cache
 ---> 72124677eff9
Step 48/223 : ARG INSTALL_WP_CLI=false
 ---> Using cache
 ---> 65734079d465
Step 49/223 : RUN if [ ${INSTALL_WP_CLI} = true ]; then     curl -fsSL -o /usr/local/bin/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | bash &&     chmod +x /usr/local/bin/wp ;fi
 ---> Using cache
 ---> 032f416bca8e
Step 50/223 : USER root
 ---> Using cache
 ---> 669e197cf324
Step 51/223 : ARG INSTALL_SSH2=false
 ---> Using cache
 ---> e52577b40769
Step 52/223 : RUN if [ ${INSTALL_SSH2} = true ]; then   apt-get -y install libssh2-1-dev php${LARADOCK_PHP_VERSION}-ssh2 ;fi
 ---> Using cache
 ---> 6e38804c68e2
Step 53/223 : USER root
 ---> Using cache
 ---> 5ee9aab9ce62
Step 54/223 : ARG INSTALL_GMP=false
 ---> Using cache
 ---> 7edc16cdc746
Step 55/223 : ARG PHP_VERSION=${LARADOCK_PHP_VERSION}
 ---> Using cache
 ---> 33fefebc5185
Step 56/223 : RUN if [ ${INSTALL_GMP} = true ]; then   apt-get -y install php${LARADOCK_PHP_VERSION}-gmp ;fi
 ---> Using cache
 ---> dd13b7f25b40
Step 57/223 : USER root
 ---> Using cache
 ---> 8977eaafdd1d
Step 58/223 : ARG INSTALL_SOAP=false
 ---> Using cache
 ---> 2ae71824df21
Step 59/223 : RUN if [ ${INSTALL_SOAP} = true ]; then   apt-get -y install libxml2-dev php${LARADOCK_PHP_VERSION}-soap ;fi
 ---> Using cache
 ---> 1e633a3f96c6
Step 60/223 : USER root
 ---> Using cache
 ---> 6814d2d6de79
Step 61/223 : ARG INSTALL_XSL=false
 ---> Using cache
 ---> fa40cfa750cc
Step 62/223 : RUN if [ ${INSTALL_XSL} = true ]; then   apt-get -y install libxslt-dev php${LARADOCK_PHP_VERSION}-xsl ;fi
 ---> Using cache
 ---> 80af5300e619
Step 63/223 : ARG INSTALL_LDAP=false
 ---> Using cache
 ---> fd3405668dfd
Step 64/223 : RUN if [ ${INSTALL_LDAP} = true ]; then     apt-get install -y libldap2-dev &&     apt-get install -y php${LARADOCK_PHP_VERSION}-ldap ;fi
 ---> Using cache
 ---> 3e5ffa39894d
Step 65/223 : ARG INSTALL_IMAP=false
 ---> Using cache
 ---> 65934ff6d71a
Step 66/223 : RUN if [ ${INSTALL_IMAP} = true ]; then     apt-get install -y php${LARADOCK_PHP_VERSION}-imap ;fi
 ---> Using cache
 ---> a358a2599208
Step 67/223 : USER root
 ---> Using cache
 ---> e4ee6a333bd1
Step 68/223 : ARG INSTALL_SUBVERSION=false
 ---> Using cache
 ---> f222a182cd94
Step 69/223 : RUN if [ ${INSTALL_SUBVERSION} = true ]; then     apt-get install -y subversion ;fi
 ---> Using cache
 ---> b819d808af6b
Step 70/223 : USER root
 ---> Using cache
 ---> acd3d4f87383
Step 71/223 : ARG INSTALL_XDEBUG=false
 ---> Using cache
 ---> 087c592604bb
Step 72/223 : RUN if [ ${INSTALL_XDEBUG} = true ]; then     apt-get install -y php${LARADOCK_PHP_VERSION}-xdebug &&     sed -i 's/^;//g' /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-xdebug.ini ;fi
 ---> Using cache
 ---> 75b0e63ebed6
Step 73/223 : COPY ./xdebug.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/xdebug.ini
 ---> Using cache
 ---> a808ebd4c803
Step 74/223 : RUN sed -i "s/xdebug.remote_autostart=0/xdebug.remote_autostart=1/" /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/xdebug.ini &&     sed -i "s/xdebug.remote_enable=0/xdebug.remote_enable=1/" /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/xdebug.ini &&     sed -i "s/xdebug.cli_color=0/xdebug.cli_color=1/" /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/xdebug.ini
 ---> Using cache
 ---> cc5d709ec95f
Step 75/223 : USER root
 ---> Using cache
 ---> e6ae2bf2938b
Step 76/223 : ARG INSTALL_PHPDBG=false
 ---> Using cache
 ---> 48084fe328ac
Step 77/223 : RUN if [ ${INSTALL_PHPDBG} = true ]; then     apt-get install -y --force-yes php${LARADOCK_PHP_VERSION}-phpdbg ;fi
 ---> Using cache
 ---> 9276aa0280e6
Step 78/223 : ARG INSTALL_BLACKFIRE=false
 ---> Using cache
 ---> ad0b88426df1
Step 79/223 : ARG BLACKFIRE_CLIENT_ID
 ---> Using cache
 ---> f582e378e05e
Step 80/223 : ENV BLACKFIRE_CLIENT_ID ${BLACKFIRE_CLIENT_ID}
 ---> Using cache
 ---> 6bb91da684c0
Step 81/223 : ARG BLACKFIRE_CLIENT_TOKEN
 ---> Using cache
 ---> 5dadc7101de7
Step 82/223 : ENV BLACKFIRE_CLIENT_TOKEN ${BLACKFIRE_CLIENT_TOKEN}
 ---> Using cache
 ---> 721f0c4b9aee
Step 83/223 : RUN if [ ${INSTALL_XDEBUG} = false -a ${INSTALL_BLACKFIRE} = true ]; then     curl -L https://packages.blackfire.io/gpg.key | apt-key add - &&     echo "deb http://packages.blackfire.io/debian any main" | tee /etc/apt/sources.list.d/blackfire.list &&     apt-get update -yqq &&     apt-get install blackfire-agent ;fi
 ---> Using cache
 ---> f8f26597893c
Step 84/223 : ARG INSTALL_WORKSPACE_SSH=false
 ---> Using cache
 ---> 3a58e55cc7c6
Step 85/223 : COPY insecure_id_rsa /tmp/id_rsa
 ---> Using cache
 ---> 48b1c8d891ac
Step 86/223 : COPY insecure_id_rsa.pub /tmp/id_rsa.pub
 ---> Using cache
 ---> 11dbd8fdde0f
Step 87/223 : RUN if [ ${INSTALL_WORKSPACE_SSH} = true ]; then     rm -f /etc/service/sshd/down &&     cat /tmp/id_rsa.pub >> /root/.ssh/authorized_keys         && cat /tmp/id_rsa.pub >> /root/.ssh/id_rsa.pub         && cat /tmp/id_rsa >> /root/.ssh/id_rsa         && rm -f /tmp/id_rsa*         && chmod 644 /root/.ssh/authorized_keys /root/.ssh/id_rsa.pub     && chmod 400 /root/.ssh/id_rsa     && cp -rf /root/.ssh /home/laradock     && chown -R laradock:laradock /home/laradock/.ssh ;fi
 ---> Using cache
 ---> 34c253927e05
Step 88/223 : ARG INSTALL_MONGO=false
 ---> Using cache
 ---> 5830e6c1cf35
Step 89/223 : RUN if [ ${INSTALL_MONGO} = true ]; then     if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then       pecl install mongo &&       echo "extension=mongo.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/mongo.ini &&       ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/mongo.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-mongo.ini     ;fi &&     pecl install mongodb &&     echo "extension=mongodb.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/mongodb.ini &&     ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/mongodb.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-mongodb.ini ;fi
 ---> Using cache
 ---> 40b597cc7d70
Step 90/223 : ARG INSTALL_AMQP=false
 ---> Using cache
 ---> d1ee2746c610
Step 91/223 : RUN if [ ${INSTALL_AMQP} = true ]; then     apt-get install librabbitmq-dev -y &&     pecl -q install amqp &&     echo "extension=amqp.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/amqp.ini &&     ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/amqp.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-amqp.ini ;fi
 ---> Using cache
 ---> 42782ad7272e
Step 92/223 : ARG INSTALL_CASSANDRA=false
 ---> Using cache
 ---> f8fb3ccd27d9
Step 93/223 : RUN if [ ${INSTALL_CASSANDRA} = true ]; then     apt-get install libgmp-dev -y &&     curl https://downloads.datastax.com/cpp-driver/ubuntu/18.04/dependencies/libuv/v1.28.0/libuv1-dev_1.28.0-1_amd64.deb -o libuv1-dev.deb &&     curl https://downloads.datastax.com/cpp-driver/ubuntu/18.04/dependencies/libuv/v1.28.0/libuv1_1.28.0-1_amd64.deb -o libuv1.deb &&     curl https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.12.0/cassandra-cpp-driver-dev_2.12.0-1_amd64.deb -o cassandra-cpp-driver-dev.deb &&     curl https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.12.0/cassandra-cpp-driver_2.12.0-1_amd64.deb -o cassandra-cpp-driver.deb &&     dpkg -i libuv1.deb &&     dpkg -i libuv1-dev.deb &&     dpkg -i cassandra-cpp-driver.deb &&     dpkg -i cassandra-cpp-driver-dev.deb &&     rm libuv1.deb libuv1-dev.deb cassandra-cpp-driver-dev.deb cassandra-cpp-driver.deb &&     cd /usr/src &&     git clone https://github.com/datastax/php-driver.git &&     cd /usr/src/php-driver/ext &&     phpize &&     mkdir /usr/src/php-driver/build &&     cd /usr/src/php-driver/build &&     ../ext/configure > /dev/null &&     make clean >/dev/null &&     make >/dev/null 2>&1 &&     make install &&     echo "extension=cassandra.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/cassandra.ini &&     ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/cassandra.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-cassandra.ini ;fi
 ---> Using cache
 ---> f639da4bb456
Step 94/223 : ARG INSTALL_GEARMAN=false
 ---> Using cache
 ---> 869c8bf70069
Step 95/223 : RUN if [ ${INSTALL_GEARMAN} = true ]; then     add-apt-repository -y ppa:ondrej/pkg-gearman &&     apt-get update &&     apt-get install php-gearman -y  ;fi
 ---> Using cache
 ---> 0e46c55f35f5
Step 96/223 : ARG INSTALL_PHPREDIS=false
 ---> Using cache
 ---> 50abd9144a90
Step 97/223 : RUN if [ ${INSTALL_PHPREDIS} = true ]; then     apt-get update -yqq &&     apt-get install -yqq php-redis ;fi
 ---> Using cache
 ---> 88bf8282bfd7
Step 98/223 : ARG INSTALL_SWOOLE=false
 ---> Using cache
 ---> b9b99546a531
Step 99/223 : RUN if [ ${INSTALL_SWOOLE} = true ]; then     if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then       pecl -q install swoole-2.0.10;     else       if [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ]; then         pecl install swoole-2.2.0;       else         pecl install swoole;       fi     fi &&     echo "extension=swoole.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/swoole.ini &&     ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/swoole.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-swoole.ini     && php -m | grep -q 'swoole' ;fi
 ---> Using cache
 ---> 6ad8b7edcd31
Step 100/223 : ARG INSTALL_TAINT=false
 ---> Using cache
 ---> 5fbbc90e4858
Step 101/223 : RUN if [ "${INSTALL_TAINT}" = true ]; then     if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then       pecl install taint &&       echo "extension=taint.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/taint.ini &&       ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/taint.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-taint.ini &&       php -m | grep -q 'taint';     fi ;fi
 ---> Using cache
 ---> d217476b5200
Step 102/223 : ARG INSTALL_LIBPNG=false
 ---> Using cache
 ---> 608e73754286
Step 103/223 : RUN if [ ${INSTALL_LIBPNG} = true ]; then     apt-get update &&     apt-get install libpng16-16 ;fi
 ---> Using cache
 ---> 378a567c559d
Step 104/223 : ARG INSTALL_INOTIFY=false
 ---> Using cache
 ---> da36a2f07bee
Step 105/223 : RUN if [ ${INSTALL_INOTIFY} = true ]; then     pecl -q install inotify &&     echo "extension=inotify.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/inotify.ini &&     ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/inotify.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-inotify.ini ;fi
 ---> Using cache
 ---> b4fd03828486
Step 106/223 : ARG INSTALL_FSWATCH=false
 ---> Using cache
 ---> 7bb677279e62
Step 107/223 : RUN if [ ${INSTALL_FSWATCH} = true ]; then     apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 47FE03C1     && add-apt-repository -y ppa:hadret/fswatch     || apt-get update -yqq     && apt-get -y install fswatch ;fi
 ---> Using cache
 ---> 48e4b62fba64
Step 108/223 : ARG INSTALL_IONCUBE=false
 ---> Using cache
 ---> ee368aa04182
Step 109/223 : RUN if [ ${INSTALL_IONCUBE} = true ]; then     curl -L -o /tmp/ioncube_loaders_lin_x86-64.tar.gz https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz     && tar zxpf /tmp/ioncube_loaders_lin_x86-64.tar.gz -C /tmp     && mv /tmp/ioncube/ioncube_loader_lin_${LARADOCK_PHP_VERSION}.so $(php -r "echo ini_get('extension_dir');")/ioncube_loader.so     && echo "zend_extension=ioncube_loader.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/0ioncube.ini     && rm -rf /tmp/ioncube* ;fi
 ---> Using cache
 ---> 7c7754a2f550
Step 110/223 : USER root
 ---> Using cache
 ---> b102bf68b8e9
Step 111/223 : ARG INSTALL_DRUPAL_CONSOLE=false
 ---> Using cache
 ---> 57d8e377f28e
Step 112/223 : RUN if [ ${INSTALL_DRUPAL_CONSOLE} = true ]; then     apt-get -y install mysql-client &&     curl https://drupalconsole.com/installer -L -o drupal.phar &&     mv drupal.phar /usr/local/bin/drupal &&     chmod +x /usr/local/bin/drupal ;fi
 ---> Using cache
 ---> dd1a5c1037e1
Step 113/223 : USER laradock
 ---> Using cache
 ---> 5978bde7b1a3
Step 114/223 : ARG NODE_VERSION=node
 ---> Using cache
 ---> 34da1fcd3f9c
Step 115/223 : ENV NODE_VERSION ${NODE_VERSION}
 ---> Using cache
 ---> 1558c4c2cb37
Step 116/223 : ARG INSTALL_NODE=false
 ---> Using cache
 ---> 0ef21982e01c
Step 117/223 : ARG INSTALL_NPM_GULP=false
 ---> Using cache
 ---> 98a69d7a121a
Step 118/223 : ARG INSTALL_NPM_BOWER=false
 ---> Using cache
 ---> c12a766e8371
Step 119/223 : ARG INSTALL_NPM_VUE_CLI=false
 ---> Using cache
 ---> 729c5528982b
Step 120/223 : ARG INSTALL_NPM_ANGULAR_CLI=false
 ---> Using cache
 ---> 50cc258f9ba5
Step 121/223 : ARG NPM_REGISTRY
 ---> Using cache
 ---> 7848e24c9bb3
Step 122/223 : ENV NPM_REGISTRY ${NPM_REGISTRY}
 ---> Using cache
 ---> 1e7f26ef04d3
Step 123/223 : ENV NVM_DIR /home/laradock/.nvm
 ---> Using cache
 ---> 0b63b838d75a
Step 124/223 : RUN if [ ${INSTALL_NODE} = true ]; then     mkdir -p $NVM_DIR &&     curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash         && . $NVM_DIR/nvm.sh         && nvm install ${NODE_VERSION}         && nvm use ${NODE_VERSION}         && nvm alias ${NODE_VERSION}         && if [ ${NPM_REGISTRY} ]; then         npm config set registry ${NPM_REGISTRY}         ;fi         && if [ ${INSTALL_NPM_GULP} = true ]; then         npm install -g gulp         ;fi         && if [ ${INSTALL_NPM_BOWER} = true ]; then         npm install -g bower         ;fi         && if [ ${INSTALL_NPM_VUE_CLI} = true ]; then         npm install -g @vue/cli         ;fi         && if [ ${INSTALL_NPM_ANGULAR_CLI} = true ]; then         npm install -g @angular/cli         ;fi         && ln -s `npm bin --global` /home/laradock/.node-bin ;fi
 ---> Running in 68e606053e78
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12819  100 12819    0     0    285      0  0:00:44  0:00:44 --:--:--  2766
=> Downloading nvm from git to '/home/laradock/.nvm'
=> Cloning into '/home/laradock/.nvm'...
=> Compressing and cleaning up git repository

=> Appending nvm source string to /home/laradock/.bashrc
=> Appending bash_completion source string to /home/laradock/.bashrc
=> Installing Node.js version node
Downloading and installing node v12.12.0...
Downloading https://nodejs.org/dist/v12.12.0/node-v12.12.0-linux-x64.tar.xz...
######################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
tar: bin: Directory renamed before its status could be extracted
tar: Exiting with failure status due to previous errors
Binary download failed, trying source.
Detected that you have 1 CPU core(s)
Number of CPU core(s) less than or equal to 2, running in single-threaded mode
Downloading https://nodejs.org/dist/v12.12.0/node-v12.12.0.tar.xz...
######################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
$>./configure --prefix=/home/laradock/.nvm/versions/node/v12.12.0 <
./configure: 4: exec: python: not found
nvm: install v12.12.0 failed!
Failed to install Node.js node
=> Close and reopen your terminal to start using nvm or run the following to use it now:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
Downloading and installing node v12.12.0...
Local cache found: $NVM_DIR/.cache/bin/node-v12.12.0-linux-x64/node-v12.12.0-linux-x64.tar.xz
Checksums match! Using existing downloaded archive $NVM_DIR/.cache/bin/node-v12.12.0-linux-x64/node-v12.12.0-linux-x64.tar.xz
tar: bin: Directory renamed before its status could be extracted
tar: Exiting with failure status due to previous errors
Binary download failed, trying source.
Detected that you have 1 CPU core(s)
Number of CPU core(s) less than or equal to 2, running in single-threaded mode
Local cache found: $NVM_DIR/.cache/src/node-v12.12.0/node-v12.12.0.tar.xz
Checksums match! Using existing downloaded archive $NVM_DIR/.cache/src/node-v12.12.0/node-v12.12.0.tar.xz
$>./configure --prefix=/home/laradock/.nvm/versions/node/v12.12.0 <
./configure: 4: exec: python: not found
nvm: install v12.12.0 failed!
ERROR: Service 'workspace' failed to build: The command '/bin/sh -c if [ ${INSTALL_NODE} = true ]; then     mkdir -p $NVM_DIR &&     curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash         && . $NVM_DIR/nvm.sh         && nvm install ${NODE_VERSION}         && nvm use ${NODE_VERSION}         && nvm alias ${NODE_VERSION}         && if [ ${NPM_REGISTRY} ]; then         npm config set registry ${NPM_REGISTRY}         ;fi         && if [ ${INSTALL_NPM_GULP} = true ]; then         npm install -g gulp         ;fi         && if [ ${INSTALL_NPM_BOWER} = true ]; then         npm install -g bower         ;fi         && if [ ${INSTALL_NPM_VUE_CLI} = true ]; then         npm install -g @vue/cli         ;fi         && if [ ${INSTALL_NPM_ANGULAR_CLI} = true ]; then         npm install -g @angular/cli         ;fi         && ln -s `npm bin --global` /home/laradock/.node-bin ;fi' returned a non-zero code: 1

Notice last line begining with ERROR: Service

My .env file is a little diffierent from env-examplefile, here is the result of execing diff env-example .env:

8c8
< APP_CODE_PATH_HOST=../
---
> APP_CODE_PATH_HOST=../www
71c71
< CHANGE_SOURCE=false
---
> CHANGE_SOURCE=true
146c146
< WORKSPACE_TIMEZONE=UTC
---
> WORKSPACE_TIMEZONE=PRC
825c825
< GEARMAN_MYSQL_TABLE=gearman_queue
\ 文件尾没有 newline 字符
---
> GEARMAN_MYSQL_TABLE=gearman_queue

I google it for long times but no result, so could you give me some advice or possible approach to solve the error? I will appreicate it very much.
And if you think the evidence i provide is not enough, comment on this issue please, i will give more detailed infomation.

@hawkup
Copy link
Contributor

hawkup commented Oct 21, 2019

Did you have Python on Centos?

@gbelot2003
Copy link

I do have the same problem with fedora 31

@stale
Copy link

stale bot commented Mar 3, 2020

Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.

@stale stale bot added the Stale label Mar 3, 2020
@stale
Copy link

stale bot commented Mar 24, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Mar 24, 2020
@stale
Copy link

stale bot commented Apr 14, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants