Remove curl after the usage (#6347)

This commit is contained in:
Manjunath A Kumatagi
2018-08-23 23:18:29 +05:30
committed by kannappanr
parent 65e05a06fb
commit dafa5073cb
3 changed files with 3 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ RUN \
apk add --no-cache --virtual .build-deps curl && \
echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && \
curl https://dl.minio.io/server/minio/release/linux-amd64/minio > /usr/bin/minio && \
apk del .build-deps && \
chmod +x /usr/bin/minio && \
chmod +x /usr/bin/docker-entrypoint.sh && \
chmod +x /usr/bin/healthcheck.sh