psugrg-web / silly-damp

Very basic (or even silly) approach to Docker based LAMP (Linux Apache Mysql PHP)
Apache License 2.0
0 stars 0 forks source link

Docker error #1

Closed MOD-777 closed 1 week ago

MOD-777 commented 1 week ago

Hi, please take a look at the problem i got after executing cmd docker compose build inside silly-dump repository.

The error: => [app stage-0 2/13] RUN apt-get update && apt-get install -y curl g++ git libbz2-dev libfreetype6-dev libicu-dev libjpeg-dev libmcrypt-dev 66.6s => [app stage-0 3/13] RUN echo "ServerName web-app.local" >> /etc/apache2/apache2.conf 0.2s => [app stage-0 4/13] RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf 0.3s => [app stage-0 5/13] RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf 0.2s => [app stage-0 6/13] RUN a2enmod rewrite headers 0.2s => [app stage-0 7/13] RUN mv "/usr/local/etc/php/php.ini-development" "/usr/local/etc/php/php.ini" 0.3s => [app stage-0 8/13] RUN docker-php-ext-install bcmath bz2 calendar iconv intl mbstring opcache pdo_mysql zip 131.1s => [app stage-0 9/13] COPY --from=composer:latest /usr/bin/composer /usr/bin/composer 0.0s => ERROR [app stage-0 10/13] RUN useradd -G www-data,root -u -d /home/my_user my_user

MOD-777 commented 1 week ago

Thank you, everything works right now.

MOD-777 commented 6 days ago

Steps to reproduce:

  1. Open app on localhost:8080
  2. Login on user which hasn't been created. image
MOD-777 commented 6 days ago

No information what is valid password image