This commit is contained in:
2023-01-22 16:32:51 +03:30
parent 201571d8ca
commit 2130717bc1

View File

@@ -43,38 +43,6 @@ 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 .