Dockerfile not building
tacman opened this issue · 3 comments
Steps to reproduce
git clone git@github.com:themeselection/sneat-html-laravel-admin-template-free.git sneat-demo && cd sneat-demo
docker build docker/8.1/
# OR
docker compose up
What is expected?
Docker will build and run. Ideally, the documentation would show how to run this demo using docker, literally cut and paste a few lines in the terminal.
What is actually happening?
ERROR:
=> ERROR [ 4/11] RUN 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 && ap 1.2s
Here's the log
[+] Building 1.7s (8/15)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.38kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:21.10 0.4s
=> [ 1/11] FROM docker.io/library/ubuntu:21.10@sha256:ff46b78279f207db3b8e57e20dee7cecef3567d09489369d80591f150f9c8154 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 870B 0.0s
=> CACHED [ 2/11] WORKDIR /var/www/html 0.0s
=> CACHED [ 3/11] RUN ln -snf /usr/share/zoneinfo/UTC /etc/localtime && echo UTC > /etc/timezone 0.0s
=> ERROR [ 4/11] RUN 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 && ap 1.2s
------
> [ 4/11] RUN 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 && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E5267A6C && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C300EE8C && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu impish main" > /etc/apt/sources.list.d/ppa_ondrej_php.list && apt-get update && apt-get install -y php8.1-cli php8.1 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 -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs && npm install -g npm && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list && apt-get update && apt-get install -y yarn && apt-get install -y mysql-client && apt-get install -y postgresql-client && apt-get -y autoremove && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*:
#7 0.674 Ign:1 http://archive.ubuntu.com/ubuntu impish InRelease
#7 0.674 Ign:2 http://security.ubuntu.com/ubuntu impish-security InRelease
#7 0.796 Ign:3 http://archive.ubuntu.com/ubuntu impish-updates InRelease
#7 0.796 Err:4 http://security.ubuntu.com/ubuntu impish-security Release
#7 0.796 404 Not Found [IP: 91.189.91.38 80]
#7 0.891 Ign:5 http://archive.ubuntu.com/ubuntu impish-backports InRelease
#7 1.002 Err:6 http://archive.ubuntu.com/ubuntu impish Release
#7 1.002 404 Not Found [IP: 91.189.91.39 80]
#7 1.124 Err:7 http://archive.ubuntu.com/ubuntu impish-updates Release
#7 1.124 404 Not Found [IP: 91.189.91.39 80]
#7 1.219 Err:8 http://archive.ubuntu.com/ubuntu impish-backports Release
#7 1.219 404 Not Found [IP: 91.189.91.39 80]
#7 1.222 Reading package lists...
#7 1.232 E: The repository 'http://security.ubuntu.com/ubuntu impish-security Release' does not have a Release file.
#7 1.232 E: The repository 'http://archive.ubuntu.com/ubuntu impish Release' does not have a Release file.
#7 1.232 E: The repository 'http://archive.ubuntu.com/ubuntu impish-updates Release' does not have a Release file.
#7 1.232 E: The repository 'http://archive.ubuntu.com/ubuntu impish-backports Release' does not have a Release file.
------
executor failed running [/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 && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E5267A6C && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C300EE8C && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu impish main" > /etc/apt/sources.list.d/ppa_ondrej_php.list && apt-get update && apt-get install -y php8.1-cli php8.1 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 -sL 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 | apt-key add - && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list && apt-get update && apt-get install -y yarn && apt-get install -y mysql-client && apt-get install -y postgresql-client && apt-get -y autoremove && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*]: exit code: 100
Additional data
Hello @tacman,
I noticed that you might not be using the Laravel Sail command to run Docker. In case you haven't already, please refer to the official Laravel Sail documentation for instructions on how to use this package: https://laravel.com/docs/10.x/sail
Using Sail can help ensure that your Docker environment is set up correctly and can help resolve any issues you might be experiencing.
If you have any further questions or concerns, please don't hesitate to let me know. I'm here to help!
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you for raising the concern.
This issue has been automatically marked as closed because it has no recent activity.