Revert "Remove curl from nginx base image (#10477)" (#10479)

This reverts commit 8bd33d29e7.
This commit is contained in:
Ricardo Katz 2023-10-06 23:04:58 -03:00 committed by GitHub
parent 223c70bd09
commit 3e26fc3740
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,10 +65,7 @@ RUN apk update \
for dir in "${writeDirs[@]}"; do \
mkdir -p ${dir}; \
chown -R www-data.www-data ${dir}; \
done' \
# Why we do this? Because apk package of the library requests curl and we dont want curl
&& mv /usr/lib/libmaxminddb.so.* /usr/local/lib/ \
&& apk del --purge libmaxminddb curl
done'
EXPOSE 80 443