Skip to content

Commit

Permalink
Wat
Browse files Browse the repository at this point in the history
  • Loading branch information
nanaya committed Jan 17, 2024
1 parent 507a0be commit 46c4e42
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 42 deletions.
60 changes: 32 additions & 28 deletions Dockerfile.deployment
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,24 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
git \
nodejs \
php8.2 \
php8.2-common \
php8.2-curl \
php8.2-ds \
php8.2-gd \
php8.2-intl \
php8.2-mbstring \
php8.2-mysql \
php8.2-redis \
php8.2-sqlite3 \
php8.2-swoole \
php8.2-tokenizer \
php8.2-xml \
php8.2-zip \
php8.3 \
php8.3-common \
php8.3-curl \
php8.3-dev \
php8.3-gd \
php8.3-intl \
php8.3-mbstring \
php8.3-mysql \
php8.3-redis \
php8.3-sqlite3 \
php8.3-swoole \
php8.3-tokenizer \
php8.3-xml \
php8.3-zip \
zip

RUN pecl install ds && echo "extension=ds.so" > /etc/php/8.3/cli/conf.d/30-ds.ini

RUN npm install -g yarn

WORKDIR /app
Expand All @@ -55,20 +57,22 @@ RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
jhead \
nginx \
php8.2 \
php8.2-common \
php8.2-curl \
php8.2-ds \
php8.2-gd \
php8.2-intl \
php8.2-mbstring \
php8.2-mysql \
php8.2-redis \
php8.2-sqlite3 \
php8.2-swoole \
php8.2-tokenizer \
php8.2-xml \
php8.2-zip
php8.3 \
php8.3-common \
php8.3-curl \
php8.3-dev \
php8.3-gd \
php8.3-intl \
php8.3-mbstring \
php8.3-mysql \
php8.3-redis \
php8.3-sqlite3 \
php8.3-swoole \
php8.3-tokenizer \
php8.3-xml \
php8.3-zip

RUN pecl install ds && echo "extension=ds.so" > /etc/php/8.3/cli/conf.d/30-ds.ini

RUN rm -f /var/log/nginx/access.log /var/log/nginx/error.log && \
ln -s /dev/stdout /var/log/nginx/access.log && \
Expand Down
30 changes: 16 additions & 14 deletions Dockerfile.development
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,24 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
libnss3 \
netcat-openbsd \
nodejs \
php8.2 \
php8.2-common \
php8.2-curl \
php8.2-ds \
php8.2-gd \
php8.2-intl \
php8.2-mbstring \
php8.2-mysql \
php8.2-redis \
php8.2-sqlite3 \
php8.2-swoole \
php8.2-tokenizer \
php8.2-xml \
php8.2-zip \
php8.3 \
php8.3-dev \
php8.3-common \
php8.3-curl \
php8.3-ds \
php8.3-gd \
php8.3-intl \
php8.3-mbstring \
php8.3-mysql \
php8.3-redis \
php8.3-sqlite3 \
php8.3-swoole \
php8.3-tokenizer \
php8.3-xml \
php8.3-zip \
zip

RUN pecl install ds && echo "extension=ds.so" > /etc/php/8.3/cli/conf.d/30-ds.ini
RUN npm install -g yarn

RUN curl -L "https://getcomposer.org/download/latest-2.x/composer.phar" > /usr/local/bin/composer && chmod 755 /usr/local/bin/composer
Expand Down

0 comments on commit 46c4e42

Please sign in to comment.