Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Michael Ptáček
ptacek-cviceni19--it4
Commits
849a6af0
Commit
849a6af0
authored
2 years ago
by
Pavel Tatar
💬
Browse files
Options
Download
Email Patches
Plain Diff
Update docker/DockerfilePHP
parent
b9c546f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
8 deletions
+21
-8
docker/DockerfilePHP
docker/DockerfilePHP
+21
-8
No files found.
docker/DockerfilePHP
View file @
849a6af0
FROM php:8.
1
-fpm-alpine AS laravel-php
FROM php:8.
2
-fpm-alpine AS laravel-php
COPY ./docker/php/php-config/custom.ini "/usr/local/etc/php/conf.d/"
...
...
@@ -42,18 +42,29 @@ apk upgrade \
php81-simplexml \
php81-tokenizer \
php81-xml \
php81-dev \
imagemagick \
imagemagick-libs \
imagemagick-dev \
php81-pcntl \
php81-zip \
libpng-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j$(nproc) gd \
&& docker-php-ext-install soap sockets exif bcmath \
&& docker-php-ext-install mysqli pdo pdo_mysql \
&& docker-php-ext-enable mysqli pdo pdo_mysql
gcc \
libpng-dev
RUN docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j$(nproc) gd
RUN docker-php-ext-configure exif
RUN docker-php-ext-configure sockets
RUN docker-php-ext-configure bcmath
RUN docker-php-ext-configure soap
RUN docker-php-ext-install mysqli
RUN docker-php-ext-install pdo
RUN docker-php-ext-install pdo_mysql
RUN docker-php-ext-enable mysqli
RUN docker-php-ext-enable pdo
RUN docker-php-ext-enable pdo_mysql
RUN printf "\n" | pecl install \
imagick && \
...
...
@@ -85,5 +96,7 @@ RUN docker-php-ext-install exif
RUN docker-php-ext-install opcache
RUN pecl install xdebug-3.1.5
RUN apk add --update linux-headers
RUN pecl install xdebug-3.2.0
RUN docker-php-ext-enable xdebug
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment