When docker-compose occurs exit code 127
Closed this issue · 1 comments
NoodlesStamps commented
Thank you for a really great program and thank you for maintaining it!
After git clone this repo, I tried to do docker-compose up, but I get an exit code 127 error
I tried doing what is described in #13 and it is the same
[internal] load build definition from dockerfile
transferring 1616/0 0.008
[internal] load .dockerignore
[internal] load metadata for docker.io/library/alpine:latest
[internal] load build context
transferring 186/0 0.003
[1/4] FROM docker.io/library/alpine:latest@sha256:b89d9c93e9ed3597455c90a0b88a8bbb5cb7188438f70953fede212a0c4394e0
[2/4] COPY *.patch /home/
[4/4] RUN apk add --update --no-cache bash tor tzdata vim autoconf build-base git libgcc gmp libtool gnutls gnutls-dev nettle libssh2 libssh2-dev ca-certificates c-ares c-ares-dev libxml2 libxml2-dev sqlite-libs sqlite-dev automake cppunit cppunit-dev util-macros gettext gettext-dev zlib zlib-dev curl unzip && /home/install-release.sh && git clone https://github.com/aria2/aria2.git /home/aria2 && patch /home/aria2/src/HttpSkipResponseCommand.cc < /home/500retry.patch && patch /home/aria2/src/DownloadCommand.cc < /home/slowretry.patch && patch /home/aria2/src/OptionHandlerFactory.cc < /home/removeconnlimit.patch && patch /home/aria2/src/SocketBuffer.cc < /home/connclosed.patch && rm -f /home/500retry.patch && rm -f /home/slowretry.patch && rm -f /home/removeconnlimit.patch && rm -f /home/connclosed.patch && rm -f /home/install-release.sh && cd /home/aria2 && autoreconf -i && ./configure && make -j`nproc` && make install && rm -rf /home/aria2 && apk del autoconf build-base git libtool gnutls-dev libssh2-dev c-ares-dev libxml2-dev sqlite-dev automake cppunit-dev util-macros gettext-dev zlib-dev curl unzip && apk add --update --no-cache python3 py3-stem && cd /home && mkdir creatorrc && cd /home/creatorrc && aria2c https://raw.githubusercontent.com/hephaest0s/creatorrc/master/creatorrc.py && aria2c https://raw.githubusercontent.com/hephaest0s/creatorrc/master/guard_country_resolver.py
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
(1/95) Installing m4 (1.4.19-r3)
(2/95) Installing libbz2 (1.0.8-r6)
(3/95) Installing perl (5.38.2-r0)
(4/95) Installing autoconf (2.72-r0)
(5/95) Installing automake (1.16.5-r2)
(6/95) Installing ncurses-terminfo-base (6.4_p20240420-r0)
(7/95) Installing libncursesw (6.4_p20240420-r0)
(8/95) Installing readline (8.2.10-r0)
(9/95) Installing bash (5.2.26-r0)
Executing bash-5.2.26-r0.post-install
(10/95) Installing libgcc (13.2.1_git20240309-r0)
(11/95) Installing jansson (2.14-r4)
(12/95) Installing libstdc++ (13.2.1_git20240309-r0)
(13/95) Installing zstd-libs (1.5.6-r0)
(14/95) Installing binutils (2.42-r0)
(15/95) Installing libmagic (5.45-r1)
(16/95) Installing file (5.45-r1)
(17/95) Installing libgomp (13.2.1_git20240309-r0)
(18/95) Installing libatomic (13.2.1_git20240309-r0)
(19/95) Installing gmp (6.3.0-r1)
(20/95) Installing isl26 (0.26-r1)
(21/95) Installing mpfr4 (4.2.1-r0)
(22/95) Installing mpc1 (1.3.1-r1)
(23/95) Installing gcc (13.2.1_git20240309-r0)
(24/95) Installing libstdc++-dev (13.2.1_git20240309-r0)
(25/95) Installing musl-dev (1.2.5-r0)
(26/95) Installing g++ (13.2.1_git20240309-r0)
(27/95) Installing make (4.4.1-r2)
(28/95) Installing fortify-headers (1.1-r3)
(29/95) Installing patch (2.7.6-r10)
(30/95) Installing build-base (0.5-r3)
(31/95) Installing c-ares (1.28.1-r0)
(32/95) Installing pkgconf (2.2.0-r0)
(33/95) Installing c-ares-dev (1.28.1-r0)
(34/95) Installing ca-certificates (20240226-r0)
(35/95) Installing cppunit (1.15.1-r4)
(36/95) Installing cppunit-dev (1.15.1-r4)
(37/95) Installing brotli-libs (1.1.0-r2)
(38/95) Installing libunistring (1.2-r0)
(39/95) Installing libidn2 (2.3.7-r0)
(40/95) Installing nghttp2-libs (1.62.1-r0)
(41/95) Installing libpsl (0.21.5-r1)
(42/95) Installing libcurl (8.8.0-r0)
(43/95) Installing curl (8.8.0-r0)
(44/95) Installing libintl (0.22.5-r0)
(45/95) Installing gettext-envsubst (0.22.5-r0)
(46/95) Installing gettext-libs (0.22.5-r0)
(47/95) Installing xz-libs (5.6.1-r3)
(48/95) Installing libxml2 (2.12.7-r0)
(49/95) Installing gettext (0.22.5-r0)
(50/95) Installing xz (5.6.1-r3)
(51/95) Installing gettext-asprintf (0.22.5-r0)
(52/95) Installing gettext-dev (0.22.5-r0)
(53/95) Installing libexpat (2.6.2-r0)
(54/95) Installing pcre2 (10.43-r0)
(55/95) Installing git (2.45.2-r0)
(56/95) Installing git-init-template (2.45.2-r0)
(57/95) Installing perl-error (0.17029-r2)
(58/95) Installing perl-git (2.45.2-r0)
(59/95) Installing git-perl (2.45.2-r0)
(60/95) Installing nettle (3.9.1-r0)
(61/95) Installing libffi (3.4.6-r0)
(62/95) Installing libtasn1 (4.19.0-r2)
(63/95) Installing p11-kit (0.25.3-r0)
(64/95) Installing gnutls (3.8.5-r0)
(65/95) Installing gnutls-c++ (3.8.5-r0)
(66/95) Installing libgmpxx (6.3.0-r1)
(67/95) Installing gmp-dev (6.3.0-r1)
(68/95) Installing nettle-dev (3.9.1-r0)
(69/95) Installing libidn2-dev (2.3.7-r0)
(70/95) Installing libtasn1-progs (4.19.0-r2)
(71/95) Installing libtasn1-dev (4.19.0-r2)
(72/95) Installing p11-kit-dev (0.25.3-r0)
(73/95) Installing zlib-dev (1.3.1-r1)
(74/95) Installing gnutls-dev (3.8.5-r0)
(75/95) Installing libssh2 (1.11.0-r2)
(76/95) Installing openssl-dev (3.3.1-r0)
(77/95) Installing libssh2-dev (1.11.0-r2)
(78/95) Installing libltdl (2.4.7-r3)
(79/95) Installing libtool (2.4.7-r3)
(80/95) Installing xz-dev (5.6.1-r3)
(81/95) Installing libxml2-utils (2.12.7-r0)
(82/95) Installing libxml2-dev (2.12.7-r0)
(83/95) Installing sqlite (3.45.3-r1)
(84/95) Installing sqlite-libs (3.45.3-r1)
(85/95) Installing sqlite-dev (3.45.3-r1)
(86/95) Installing libcap2 (2.70-r0)
(87/95) Installing libevent (2.1.12-r7)
(88/95) Installing libseccomp (2.5.5-r1)
(89/95) Installing tor (0.4.8.12-r0)
Executing tor-0.4.8.12-r0.pre-install
(90/95) Installing tzdata (2024a-r1)
(91/95) Installing unzip (6.0-r14)
(92/95) Installing util-macros (1.20.0-r0)
(93/95) Installing vim-common (9.1.0414-r0)
(94/95) Installing xxd (9.1.0414-r0)
(95/95) Installing vim (9.1.0414-r0)
Executing busybox-1.36.1-r29.trigger
Executing ca-certificates-20240226-r0.trigger
OK: 363 MiB in 109 packages
env: can't execute 'bash
': No such file or directory
[3/4] COPY --chmod=777 install-release.sh /home/
NoodlesStamps commented
I thought it was strange because it worked fine in WSL2, the problem was the line ending , so I unified them to LF and it works fine!