File tree Expand file tree Collapse file tree 4 files changed +11
-9
lines changed
Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 11FROM php:cli-alpine
22
3- # PHP dependencies, create users
3+ # PHP ext dependencies
44RUN apk add --update --no-cache linux-headers curl-dev libcap imap-dev openssl-dev \
55 && docker-php-ext-install sockets \
6- && docker-php-ext-install curl \
7- && PHP_OPENSSL=yes docker-php-ext-configure imap --with-imap --with-imap-ssl \
8- && docker-php-ext-install imap \
9- && setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/php \
6+ && docker-php-ext-install curl
7+
8+ # PHP pecl dependencies
9+ RUN apk add --update --no-cache $PHPIZE_DEPS krb5-dev \
10+ && pecl install imap \
11+ && docker-php-ext-enable imap
12+
13+ # create users and configure
14+ RUN setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/php \
1015 && addgroup -S php && adduser -S php -G php \
1116 && mkdir -p /home/php/telegram/ \
1217 && mkdir /home/php/telegram/log
Original file line number Diff line number Diff line change @@ -79,8 +79,6 @@ The `docker-compose.yml` to setup the Docker Image.
7979
8080``` yaml
8181
82- version : ' 2'
83-
8482services :
8583 telebot :
8684 image : kimbtechnologies/telegrambot:latest
Original file line number Diff line number Diff line change 111
221.0
3- 1.0.5
3+ 1.0.6
Original file line number Diff line number Diff line change 1- version : ' 2'
21
32services :
43 telebot :
You can’t perform that action at this time.
0 commit comments