use php8-curl instead of php-curl

This commit is contained in:
Jonas Leder 2021-09-26 00:37:46 +02:00
parent e33f8dbf63
commit 5bf77b6849
No known key found for this signature in database
GPG key ID: CC3C488E27DFF5CA
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
FROM alpine:latest FROM alpine:latest
RUN apk update && \ RUN apk update && \
apk upgrade && \ apk upgrade && \
apk add nodejs yarn php8 php8-mysqli php8-mbstring git nano composer openssh-client php-curl curl && \ apk add nodejs yarn php8 php8-mysqli php8-mbstring php8-curl git nano composer openssh-client curl && \
curl -L https://unpkg.com/@pnpm/self-installer | node curl -L https://unpkg.com/@pnpm/self-installer | node
ENV ENV="/etc/profile" ENV ENV="/etc/profile"

View file

@ -22,5 +22,5 @@ RUN cd API && composer install
# |-------------------------------------------------------------------------- # |--------------------------------------------------------------------------
FROM gitlab.jonasled.de/jonasled/apache-php-minimal:latest FROM gitlab.jonasled.de/jonasled/apache-php-minimal:latest
RUN apk update && \ RUN apk update && \
apk add php8-mysqli php8-mbstring php-curl curl --no-cache apk add php8-mysqli php8-mbstring php8-curl curl --no-cache
COPY --from=composer /build/ . COPY --from=composer /build/ .