简体   繁体   中英

Install php imap on docker container through dockerfile

I'm trying to modify my dockerfile so that it will install php-imap for php on our docker container

I have this:

RUN set -ex                      && \
apt-get update                   && \
apt-get install -y php-imap  && \
docker-php-ext-install php-imap

but I'm getting an error that it can't find php-imap?

What am I doing wrong here

尝试:

 RUN   apt-get install -y libc-client-dev libkrb5-dev && rm -r /var/lib/apt/lists/* && docker-php-ext-configure imap --with-kerberos --with-imap-ssl && docker-php-ext-install imap

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM