-
Notifications
You must be signed in to change notification settings - Fork 36
Description
trying to run application container (with php7.4 and also occour with php8)
and i get an error:
ERROR [2/5] RUN set -xe; mkdir -p /tmp/oniguruma; curl -Ls https://github.com/kkos/oniguruma/releases 0.5s
[2/5] RUN set -xe; mkdir -p /tmp/oniguruma; curl -Ls https://github.com/kkos/oniguruma/releases/download/v6.9.3/onig-6.9.3.tar.gz | tar xzC /tmp/oniguruma --strip-components=1; cd /tmp/oniguruma/; ./configure; make -j $(nproc); make install:
#4 0.320 + mkdir -p /tmp/oniguruma
#4 0.321 + curl -Ls https://github.com/kkos/oniguruma/releases/download/v6.9.3/onig-6.9.3.tar.gz
#4 0.321 + tar xzC /tmp/oniguruma --strip-components=1
#4 0.438
#4 0.438 gzip: stdin: unexpected end of file
#4 0.438 tar: Child returned status 1
#4 0.438 tar: Error is not recoverable: exiting now
executor failed running [/bin/sh -c set -xe; mkdir -p ${ONIG_BUILD_DIR}; curl -Ls https://github.com/kkos/oniguruma/releases/download/v${VERSION_ONIG}/onig-${VERSION_ONIG}.tar.gz | tar xzC ${ONIG_BUILD_DIR} --strip-components=1; cd ${ONIG_BUILD_DIR}/; ./configure; make -j $(nproc); make install]: exit code: 2
ERROR: Service 'php8.0' failed to build : Build failed
(By the way, run $ make -f Makefile run command is not possible in Windows OS,
so to run it I took command docker-compose up -d --build nginx mysql5.7 php8.0 from within Makefile file and I ran the command in Windows PowerShell).
- OS: windows 10 19043.1766
- Docker version 20.10.16, build aa7e414
- docker-compose version 1.29.2, build 5becea4c
I would be happy for help and guidance
Thanks