Skip to content

Commit

Permalink
fix(devc): Root file system and parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
leocavalcante committed May 9, 2024
1 parent d1b2010 commit 2c11396
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src-devc/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
ARG PHP_VERSION 83
ARG PHP_VERSION_STR 8.3

FROM php:${PHP_VERSION_STR}-cli-bookworm
ENV PHP_VERSION $PHP_VERSION

COPY rootfs /
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends libcurl4-openssl-dev libc-ares-dev libsqlite3-dev libpq-dev git unzip wget \
&& apt-get -y install --no-install-recommends libcurl4-openssl-dev libc-ares-dev libsqlite3-dev libpq-dev git parallel unzip wget \
&& mv /usr/local/etc/php/php.ini-development /usr/local/etc/php/php.ini \
&& mv /etc/php/php.ini /usr/local/etc/php/conf.d/zzphp.ini \
&& install-php-extensions sockets && install-swoole && install-tools

0 comments on commit 2c11396

Please sign in to comment.