Code Monkey home page Code Monkey logo

Comments (2)

edbizarro avatar edbizarro commented on June 12, 2024

Are u on windows? what your bash version and what terminal are you running this (Git Bash, Powershell, etc.)?

from gitlab-ci-pipeline-php.

hanstsangcwc avatar hanstsangcwc commented on June 12, 2024

I tried run on wsl2 or windows PowerShell and it didn't work.

not sure is it docker version or not.
image
image
image

:/mnt/c/code/gitlab-ci-pipeline-php$ docker build --compress -f php/7.3/Dockerfile .
[+] Building 27.0s (11/12)
 => [internal] load .dockerignore                                                                                  0.1s
 => => transferring context: 181B                                                                                  0.0s
 => [internal] load build definition from Dockerfile                                                               0.1s
 => => transferring dockerfile: 1.64kB                                                                             0.0s
 => [internal] load metadata for docker.io/library/php:7.3                                                         3.2s
 => [stage-0 1/7] FROM docker.io/library/php:7.3@sha256:d31f88c1cdffe31a259d23b239e30668412956d6b4203e69eb96303f  22.6s
 => => resolve docker.io/library/php:7.3@sha256:d31f88c1cdffe31a259d23b239e30668412956d6b4203e69eb96303f2f2eb600   0.0s
 => => sha256:884b07cff889c32a1ceb41f75368ee7658c798b7b45d032e95b0beb1978b81e5 2.41kB / 2.41kB                     0.0s
 => => sha256:50f129e69384681ba8ea3ee79e4f9b69e8e7e8bcb00bac515ea5c9626d93ec3c 9.85kB / 9.85kB                     0.0s
 => => sha256:80f7a64e4b25ef4677013dcec51e1af42c22625c752488313e0861b1888c723a 226B / 226B                         0.5s
 => => sha256:da391f3e81f0b09c13ea57f5a07f660d6d704d6c2f03d7c0b550ea1cc7acf149 76.65MB / 76.65MB                  15.9s
 => => sha256:d31f88c1cdffe31a259d23b239e30668412956d6b4203e69eb96303f2f2eb600 1.86kB / 1.86kB                     0.0s
 => => sha256:bb79b6b2107fea8e8a47133a660b78e3a546998fcf0427be39ac9a0af4a97e90 27.09MB / 27.09MB                   6.5s
 => => sha256:8199ae3052e18f15705e0e05b817db237cae5bea84678ae2cbc0e9b88b2a2209 224B / 224B                         1.3s
 => => sha256:abf37c537f772bf2c77b94315402c9d26c3c76161fef2831ccef50ed8fb93a7e 12.46MB / 12.46MB                   5.9s
 => => sha256:1c570dbe62f18534228fb4ec072ca120534feb4fccc8e1fa8a78ebd4add0914a 491B / 491B                         6.2s
 => => sha256:2e8eed014328b831f5562d69ce8a861420ca7492da6980aeaff95fe6a9d48f07 28.70MB / 28.70MB                  12.1s
 => => extracting sha256:bb79b6b2107fea8e8a47133a660b78e3a546998fcf0427be39ac9a0af4a97e90                          1.2s
 => => sha256:7bcadf9ac796c71c4789d22304fed497153133ebb41cdd05a5651892356b5537 2.26kB / 2.26kB                     6.9s
 => => sha256:a5571b862acf41cfbbe6945b15c44da72fed2aa65d5b1eb79001ebfccb4ef53a 248B / 248B                         7.2s
 => => sha256:c67427299e872b3ac7a30b4aa0ad457326ec2ddeb5e1855005b9683f09715046 212B / 212B                         7.5s
 => => extracting sha256:80f7a64e4b25ef4677013dcec51e1af42c22625c752488313e0861b1888c723a                          0.0s
 => => extracting sha256:da391f3e81f0b09c13ea57f5a07f660d6d704d6c2f03d7c0b550ea1cc7acf149                          2.9s
 => => extracting sha256:8199ae3052e18f15705e0e05b817db237cae5bea84678ae2cbc0e9b88b2a2209                          0.0s
 => => extracting sha256:abf37c537f772bf2c77b94315402c9d26c3c76161fef2831ccef50ed8fb93a7e                          0.1s
 => => extracting sha256:1c570dbe62f18534228fb4ec072ca120534feb4fccc8e1fa8a78ebd4add0914a                          0.0s
 => => extracting sha256:2e8eed014328b831f5562d69ce8a861420ca7492da6980aeaff95fe6a9d48f07                          0.7s
 => => extracting sha256:7bcadf9ac796c71c4789d22304fed497153133ebb41cdd05a5651892356b5537                          0.0s
 => => extracting sha256:a5571b862acf41cfbbe6945b15c44da72fed2aa65d5b1eb79001ebfccb4ef53a                          0.0s
 => => extracting sha256:c67427299e872b3ac7a30b4aa0ad457326ec2ddeb5e1855005b9683f09715046                          0.0s
 => [internal] load build context                                                                                  0.1s
 => => transferring context: 8.82kB                                                                                0.1s
 => FROM docker.io/library/composer:1                                                                             18.1s
 => => resolve docker.io/library/composer:1                                                                        2.6s
 => => sha256:7b7b6aa414b68416bafaa08ed40bf89e03beadaaa774d211a492d0559ba129c2 1.65kB / 1.65kB                     0.0s
 => => sha256:8d37a3118fc4dc5408f014faab1c3d6f9fbed7322f2cf887443f1bff7e722f5d 3.46kB / 3.46kB                     0.0s
 => => sha256:188a16236e887c25c78d41d370c42db328384c126615c9ae5a845743862f94af 12.15kB / 12.15kB                   0.0s
 => => sha256:188c0c94c7c576fff0792aca7ec73d67a2f7f4cb3a6e53a84559337260b36964 2.80MB / 2.80MB                     6.5s
 => => extracting sha256:188c0c94c7c576fff0792aca7ec73d67a2f7f4cb3a6e53a84559337260b36964                          0.1s
 => => sha256:45f8bf6cfdbe614fef94f982905079c16e27b3de2d24eb1ff513d3d83e656ca2 1.34MB / 1.34MB                     7.6s
 => => extracting sha256:45f8bf6cfdbe614fef94f982905079c16e27b3de2d24eb1ff513d3d83e656ca2                          0.1s
 => => sha256:ce5be79740125b9e74a77885bf6ee2b0d25ac7ed9e9432c5aa7210bb3b00458a 1.23kB / 1.23kB                     7.9s
 => => extracting sha256:ce5be79740125b9e74a77885bf6ee2b0d25ac7ed9e9432c5aa7210bb3b00458a                          0.0s
 => => sha256:a99dd6507fe563b66ba35badf706e1bbb2d39eb5d0a3c0d5a86a45d2af7e89c1 221B / 221B                         8.5s
 => => extracting sha256:a99dd6507fe563b66ba35badf706e1bbb2d39eb5d0a3c0d5a86a45d2af7e89c1                          0.0s
 => => sha256:84ab7a98c2ef9382ba6cf0fc5a9987d6e32a81832e54241be956471c98ce2088 10.33MB / 10.33MB                  11.2s
 => => sha256:07fa46c284ad61140e5ce3ac01798895f0edecbbbce228b86ccfc667dad36d6b 498B / 498B                        10.3s
 => => sha256:7ae9397c88ea7dfdab00f9699013044c2631ee7c62c839411c1c111c3408c324 14.18MB / 14.18MB                  13.8s
 => => extracting sha256:84ab7a98c2ef9382ba6cf0fc5a9987d6e32a81832e54241be956471c98ce2088                          0.1s
 => => sha256:5e4748577090d68f9af19983928b0fb9fb2323318240fb214c4c7f1e2b42279b 2.26kB / 2.26kB                    11.6s
 => => extracting sha256:07fa46c284ad61140e5ce3ac01798895f0edecbbbce228b86ccfc667dad36d6b                          0.0s
 => => sha256:36fcf1c47c045c21c5c9a53d4cefd85e291836fcea324b721d0b802f566bb1c2 16.89kB / 16.89kB                  11.9s
 => => sha256:0e7ab985a9bda3eaa74105e5c5275bbb1907152463c919d389a6399eea368b41 33.86MB / 33.86MB                  16.2s
 => => extracting sha256:7ae9397c88ea7dfdab00f9699013044c2631ee7c62c839411c1c111c3408c324                          1.0s
 => => sha256:5d927604c025a4d1bc228608c30d3556822c5e59db33c49f1780e70976b68ca0 259B / 259B                        14.2s
 => => sha256:587323d75f78e9e8213c235befaccf69ddd6b86ec9b5677fab5e32709a3e181f 189.28kB / 189.28kB                14.2s
 => => sha256:c18a39bfedf9a3726d05562561a05759f516a243529febe753eb2f8ba3c8b7d4 509.76kB / 509.76kB                14.5s
 => => sha256:75dfe5229db855ac6db117334583c08ea818f375e83bb1b83289558eaf3173c8 407B / 407B                        14.5s
 => => sha256:33c89e0b53011c3908bea02eab88634d35840351688d73e4871350aa528096cf 92B / 92B                          14.8s
 => => extracting sha256:5e4748577090d68f9af19983928b0fb9fb2323318240fb214c4c7f1e2b42279b                          0.0s
 => => extracting sha256:36fcf1c47c045c21c5c9a53d4cefd85e291836fcea324b721d0b802f566bb1c2                          0.0s
 => => extracting sha256:0e7ab985a9bda3eaa74105e5c5275bbb1907152463c919d389a6399eea368b41                          1.0s
 => => extracting sha256:587323d75f78e9e8213c235befaccf69ddd6b86ec9b5677fab5e32709a3e181f                          0.0s
 => => extracting sha256:5d927604c025a4d1bc228608c30d3556822c5e59db33c49f1780e70976b68ca0                          0.0s
 => => extracting sha256:c18a39bfedf9a3726d05562561a05759f516a243529febe753eb2f8ba3c8b7d4                          0.1s
 => => extracting sha256:75dfe5229db855ac6db117334583c08ea818f375e83bb1b83289558eaf3173c8                          0.0s
 => => extracting sha256:33c89e0b53011c3908bea02eab88634d35840351688d73e4871350aa528096cf                          0.0s
 => [stage-0 2/7] WORKDIR /tmp                                                                                     0.1s
 => [stage-0 3/7] COPY --from=composer:1 /usr/bin/composer /usr/bin/composer                                       0.1s
 => [stage-0 4/7] COPY ./php/scripts/*.sh /tmp/                                                                    0.1s
 => [stage-0 5/7] RUN chmod +x /tmp/*.sh                                                                           0.3s
 => ERROR [stage-0 6/7] RUN bash ./packages.sh   && bash ./extensions.sh   && bash ./node.sh   && adduser --disab  0.4s
------
 > [stage-0 6/7] RUN bash ./packages.sh   && bash ./extensions.sh   && bash ./node.sh   && adduser --disabled-password --gecos "" php &&   echo "PATH=$(yarn global bin):/home/php/.yarn/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" >> /root/.profile &&   echo "PATH=$(yarn global bin):/home/php/.yarn/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" >> /root/.bashrc &&   echo "php  ALL = ( ALL ) NOPASSWD: ALL" >> /etc/sudoers &&   mkdir -p /var/www/html   && composer global require "hirak/prestissimo:^0.3"    && rm -rf ~/.composer/cache/*   && chown -R php:php /var/www /home/php   && curl -fsSL https://goss.rocks/install | GOSS_VER=v0.3.8 sh   && bash ./cleanup.sh:
#10 0.426 ./packages.sh: line 2: $'\r': command not found
: invalid option namesh: line 3: set: pipefail
------
failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c bash ./packages.sh   && bash ./extensions.sh   && bash ./node.sh   && adduser --disabled-password --gecos "" $IMAGE_USER &&   echo "PATH=$(yarn global bin):$PATH" >> /root/.profile &&   echo "PATH=$(yarn global bin):$PATH" >> /root/.bashrc &&   echo "$IMAGE_USER  ALL = ( ALL ) NOPASSWD: ALL" >> /etc/sudoers &&   mkdir -p /var/www/html   && composer global require "hirak/prestissimo:^0.3"    && rm -rf ~/.composer/cache/*   && chown -R $IMAGE_USER:$IMAGE_USER /var/www $HOME   && curl -fsSL https://goss.rocks/install | GOSS_VER=v${GOSS_VERSION} sh   && bash ./cleanup.sh]: runc did not terminate sucessfully

from gitlab-ci-pipeline-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.