CLI Docker

This commit is contained in:
2022-11-09 15:25:15 -03:00
parent 6a023ab383
commit c71061d7a7
2 changed files with 29 additions and 0 deletions

13
cli/Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM php:8-cli
ENV PATH ${PATH}:/app/bin
RUN apt-get update \
&& apt-get install -y libc-client-dev libkrb5-dev git libzip-dev unzip \
&& rm -r /var/lib/apt/lists/* \
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
&& docker-php-ext-install imap zip
COPY --from=composer /usr/bin/composer /usr/bin/composer
WORKDIR /app