I'm trying to install imagick on alpine linux for php8.2 and I don't really understand how to do it. I see that the imagick extension is still in testing. From what I read I can install it by specifying a different repository. However when I do so, I get an error: php82-common (no such package):
. I can't find what this package php82-common
is.
My dockerfile is as follows:
FROM laravelphp/vapor:php82
RUN apk --update add postgresql14-client
# INSTALL COMPOSER
RUN curl -s https://getcomposer.org/installer | php
RUN alias composer='php composer.phar'
# INSTALL PHP EXTENSIONS
RUN apk add php82-pecl-imagick --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
RUN apk --update add imagemagick imagemagick-dev
RUN docker-php-ext-enable imagick
RUN docker-php-ext-install gd
RUN docker-php-ext-install exif
# Place application in Lambda application directory...
COPY . /var/task