update
This commit is contained in:
40
Dockerfile
40
Dockerfile
@@ -1,8 +1,8 @@
|
|||||||
FROM git.alshafagh.ir/docker/php:8.2-cli-bullseye
|
FROM git.alshafagh.ir/docker/php:8.2-cli-bullseye
|
||||||
RUN apt-get update
|
RUN apt-get update; \
|
||||||
RUN apt-get upgrade -yqq
|
apt-get upgrade -yqq; \
|
||||||
RUN pecl -q channel-update pecl.php.net
|
pecl -q channel-update pecl.php.net; \
|
||||||
RUN apt-get install -yqq --no-install-recommends --show-progress \
|
apt-get install -yqq --no-install-recommends --show-progress \
|
||||||
apt-utils \
|
apt-utils \
|
||||||
gnupg \
|
gnupg \
|
||||||
gosu \
|
gosu \
|
||||||
@@ -43,6 +43,38 @@ RUN docker-php-ext-install pdo_mysql exif pcntl bcmath gd intl zip mbstring sock
|
|||||||
RUN pecl install redis
|
RUN pecl install redis
|
||||||
RUN pecl install -D 'enable-sockets="no" enable-openssl="yes" enable-http2="yes" enable-mysqlnd="yes" enable-hook-curl="yes" enable-cares="yes" with-postgres="yes"' openswoole
|
RUN pecl install -D 'enable-sockets="no" enable-openssl="yes" enable-http2="yes" enable-mysqlnd="yes" enable-hook-curl="yes" enable-cares="yes" with-postgres="yes"' openswoole
|
||||||
RUN docker-php-ext-enable redis openswoole
|
RUN docker-php-ext-enable redis openswoole
|
||||||
|
|
||||||
|
RUN docker-php-source delete \
|
||||||
|
&& apt-get purge -y --auto-remove \
|
||||||
|
-o APT::AutoRemove::RecommendsImportant=false \
|
||||||
|
-o APT::AutoRemove::SuggestsImportant=false \
|
||||||
|
freetds-dev \
|
||||||
|
libbz2-dev \
|
||||||
|
libc-client-dev \
|
||||||
|
libffi-dev \
|
||||||
|
libfreetype6-dev \
|
||||||
|
libgmp3-dev \
|
||||||
|
libicu-dev \
|
||||||
|
libjpeg62-turbo-dev \
|
||||||
|
libmagickwand-dev \
|
||||||
|
libkrb5-dev \
|
||||||
|
libldap2-dev \
|
||||||
|
libmcrypt-dev \
|
||||||
|
libpng-dev \
|
||||||
|
libpq-dev \
|
||||||
|
libpspell-dev \
|
||||||
|
libonig-dev \
|
||||||
|
librabbitmq-dev \
|
||||||
|
libsasl2-dev \
|
||||||
|
libsnmp-dev \
|
||||||
|
libssl-dev \
|
||||||
|
libtidy-dev \
|
||||||
|
libxml2-dev \
|
||||||
|
libxpm-dev \
|
||||||
|
libxslt1-dev \
|
||||||
|
zlib1g-dev \
|
||||||
|
libzip-dev \
|
||||||
|
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
RUN groupadd --force -g 1000 octane && useradd -ms /bin/bash --no-log-init --no-user-group -g 1000 -u 1000 octane
|
RUN groupadd --force -g 1000 octane && useradd -ms /bin/bash --no-log-init --no-user-group -g 1000 -u 1000 octane
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN chown -R octane:octane .
|
RUN chown -R octane:octane .
|
||||||
|
|||||||
0
entrypoint.sh
Normal file → Executable file
0
entrypoint.sh
Normal file → Executable file
Reference in New Issue
Block a user