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

This reverts commit 8bd33d29e7.
This commit is contained in:
Ricardo Katz 2023-10-04 19:21:04 -03:00
parent 8bd33d29e7
commit e278eb2a17

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