laravel / sail

Docker files for running a basic Laravel application.
https://laravel.com/docs/sail
MIT License
1.67k stars 477 forks source link

build failed by sail #489

Closed imajinyun closed 1 year ago

imajinyun commented 1 year ago

Description:

build failed by sail:

$ sail build --no-cache
...
#0 306.8 Composer (version 2.4.4) successfully installed to: /usr/bin/composer
#0 306.8 Use it: php /usr/bin/composer
#0 306.8
#0 308.4
#0 308.4 ## Installing the NodeSource Node.js 16.x repo...
#0 308.4
#0 308.4
#0 308.4 ## Populating apt-get cache...
#0 308.4
#0 308.4 + apt-get update
#0 309.3 Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
#0 309.6 Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
#0 309.8 Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
#0 309.9 Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
#0 310.9 Hit:5 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
#0 311.0 Reading package lists...
#0 313.7
#0 313.7 ## Installing packages required for setup: lsb-release...
#0 313.7
#0 313.7 + apt-get install -y lsb-release > /dev/null 2>&1
#0 322.4
#0 322.4 ## Your distribution, identified as "Ubuntu Jammy Jellyfish (development branch)", is a pre-release version of Ubuntu. NodeSource does not maintain official support for Ubuntu versions until they are formally released. You can try using the manual installation instructions available at https://github.com/nodesource/distributions and use the latest supported Ubuntu version name as the distribution identifier, although this is not guaranteed to work.
#0 322.4
------
failed to solve: process "/bin/sh -c apt-get update     && apt-get install -y gnupg gosu curl ca-certificates zip unzip git supervisor sqlite3 libcap2-bin libpng-dev python2     && mkdir -p ~/.gnupg     && chmod 600 ~/.gnupg     && echo \"disable-ipv6\" >> ~/.gnupg/dirmngr.conf     && echo \"keyserver hkp://keyserver.ubuntu.com:80\" >> ~/.gnupg/dirmngr.conf     && gpg --recv-key 0x14aa40ec0831756756d7f66c4f4ea0aae5267a6c     && gpg --export 0x14aa40ec0831756756d7f66c4f4ea0aae5267a6c > /usr/share/keyrings/ppa_ondrej_php.gpg     && echo \"deb [signed-by=/usr/share/keyrings/ppa_ondrej_php.gpg] https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy main\" > /etc/apt/sources.list.d/ppa_ondrej_php.list     && apt-get update     && apt-get install -y php8.1-cli php8.1-dev        php8.1-pgsql php8.1-sqlite3 php8.1-gd        php8.1-curl        php8.1-imap php8.1-mysql php8.1-mbstring        php8.1-xml php8.1-zip php8.1-bcmath php8.1-soap        php8.1-intl php8.1-readline        php8.1-ldap        php8.1-msgpack php8.1-igbinary php8.1-redis php8.1-swoole        php8.1-memcached php8.1-pcov php8.1-xdebug     && php -r \"readfile('https://getcomposer.org/installer');\" | php -- --install-dir=/usr/bin/ --filename=composer     && curl -sLS https://deb.nodesource.com/setup_$NODE_VERSION.x | bash -     && apt-get install -y nodejs     && npm install -g npm     && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarn.gpg >/dev/null     && echo \"deb [signed-by=/usr/share/keyrings/yarn.gpg] https://dl.yarnpkg.com/debian/ stable main\" > /etc/apt/sources.list.d/yarn.list     && curl -sS https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | tee /usr/share/keyrings/pgdg.gpg >/dev/null     && echo \"deb [signed-by=/usr/share/keyrings/pgdg.gpg] http://apt.postgresql.org/pub/repos/apt jammy-pgdg main\" > /etc/apt/sources.list.d/pgdg.list     && apt-get update     && apt-get install -y yarn     && apt-get install -y mysql-client     && apt-get install -y postgresql-client-$POSTGRES_VERSION     && apt-get -y autoremove     && apt-get clean     && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*" did not complete successfully: exit code: 1

Steps To Reproduce:

$ sail build --no-cache
driesvints commented 1 year ago

This is a very old Sail version. Most likely this is also a temporary hiccup.