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

This reverts commit ec3f5add62.
This commit is contained in:
Ricardo Katz 2023-10-06 23:04:58 -03:00 committed by GitHub
parent 8b546bdb9f
commit d156f5a134

View file

@ -65,10 +65,7 @@ RUN apk update \
for dir in "${writeDirs[@]}"; do \ for dir in "${writeDirs[@]}"; do \
mkdir -p ${dir}; \ mkdir -p ${dir}; \
chown -R www-data.www-data ${dir}; \ chown -R www-data.www-data ${dir}; \
done' \ 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
EXPOSE 80 443 EXPOSE 80 443