Remove curl from nginx base image (#10477)
This commit is contained in:
parent
8ce61bdc67
commit
8bd33d29e7
1 changed files with 4 additions and 1 deletions
|
@ -65,7 +65,10 @@ RUN apk update \
|
|||
for dir in "${writeDirs[@]}"; do \
|
||||
mkdir -p ${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
|
||||
|
||||
|
|
Loading…
Reference in a new issue