mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
chromium (139.0.7258.66-r0) imagick-php 3.8.0
This commit is contained in:
parent
4c66761baa
commit
fb506fa846
3 changed files with 9 additions and 9 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# From official php image.
|
||||
FROM php:8.3-cli-alpine
|
||||
FROM php:8.4-cli-alpine
|
||||
# Create a user group and account under id 1000.
|
||||
RUN addgroup -g 1000 -S user && adduser -u 1000 -D user -G user
|
||||
# Install quality-of-life packages.
|
||||
|
|
@ -16,14 +16,14 @@ ENV PUPPETEER_DOCKER=1
|
|||
|
||||
RUN mkdir -p /usr/src/php/ext/imagick
|
||||
RUN chmod 777 /usr/src/php/ext/imagick
|
||||
RUN curl -fsSL https://github.com/Imagick/imagick/archive/refs/tags/3.7.0.tar.gz | tar xvz -C "/usr/src/php/ext/imagick" --strip 1
|
||||
RUN curl -fsSL https://github.com/Imagick/imagick/archive/refs/tags/3.8.0.tar.gz | tar xvz -C "/usr/src/php/ext/imagick" --strip 1
|
||||
|
||||
# Install PHP extensions
|
||||
RUN docker-php-ext-install imagick
|
||||
|
||||
# Composer uses its php binary, but we want it to use the container's one
|
||||
RUN rm -f /usr/bin/php83
|
||||
RUN ln -s /usr/local/bin/php /usr/bin/php83
|
||||
RUN rm -f /usr/bin/php84
|
||||
RUN ln -s /usr/local/bin/php /usr/bin/php84
|
||||
# Install postgres pdo driver.
|
||||
# RUN apk add --no-cache postgresql-dev && docker-php-ext-install pdo_pgsql
|
||||
# Install redis driver.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue