chore(): fix update to alpine 3.16

master 1.3.0
Magicalex 2022-06-06 14:50:08 +02:00
parent eb63dd9b1e
commit 3329c55572
No known key found for this signature in database
GPG Key ID: A89B48B1788C3CB5
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
FROM alpine:3.16 FROM alpine:3.16
LABEL description="Simple forum software for building great communities" \ LABEL description="Simple forum software for building great communities" \
maintainer="Magicalex <magicalex@mondedie.fr>, Hardware <hardware@mondedie.fr>" maintainer="Magicalex <magicalex@mondedie.fr>"
ARG VERSION=v1.3.0 ARG VERSION=v1.3.0
@ -23,6 +23,7 @@ ENV GID=991 \
RUN apk add --no-progress --no-cache \ RUN apk add --no-progress --no-cache \
curl \ curl \
git \ git \
icu-data-full \
libcap \ libcap \
nginx \ nginx \
php8 \ php8 \
@ -52,7 +53,6 @@ RUN apk add --no-progress --no-cache \
su-exec \ su-exec \
s6 \ s6 \
&& cd /tmp \ && cd /tmp \
&& ln -s /usr/bin/php8 /usr/bin/php \
&& curl --progress-bar http://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ && curl --progress-bar http://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& sed -i 's/memory_limit = .*/memory_limit = ${PHP_MEMORY_LIMIT}/' /etc/php8/php.ini \ && sed -i 's/memory_limit = .*/memory_limit = ${PHP_MEMORY_LIMIT}/' /etc/php8/php.ini \
&& chmod +x /usr/local/bin/composer \ && chmod +x /usr/local/bin/composer \