add php curl

This commit is contained in:
Jonas Leder 2021-09-26 00:32:40 +02:00
parent 70b82c54d2
commit e33f8dbf63
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
RUN apk update && \
apk upgrade && \
apk add nodejs yarn php8 php8-mysqli php8-mbstring git nano composer openssh-client curl && \
apk add nodejs yarn php8 php8-mysqli php8-mbstring git nano composer openssh-client php-curl curl && \
curl -L https://unpkg.com/@pnpm/self-installer | node
ENV ENV="/etc/profile"

View file

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