Commit 3635f2f2 authored by Manuel Christlieb's avatar Manuel Christlieb
Browse files

fix(): Install sudo

parent 1056defd
Pipeline #28486 failed with stage
in 57 seconds
......@@ -28,6 +28,10 @@ RUN apt-get update && \
docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd bcmath soap gettext mcrypt mysqli pdo_mysql opcache xsl zip intl calendar && \
apt-get remove -y libfreetype6-dev libpng-dev libjpeg62-turbo-dev libmcrypt-dev libxslt1-dev libicu-dev
RUN apt-get install -y sudo
# Allow user www-data to run the xdebug enable script
RUN echo 'www-data ALL=(root) NOPASSWD:/usr/local/bin/' >> /etc/sudoers
RUN apt-get install -y ssmtp && \
echo "mailhub=mailcatcher:1025\nUseTLS=NO\nFromLineOverride=YES" > /etc/ssmtp/ssmtp.conf && \
echo "sendmail_path = /usr/sbin/ssmtp -t" > /usr/local/etc/php/conf.d/sendmail.ini
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment