Revert "Remove curl after the usage (#6347)" (#6366)

This reverts commit dafa5073cb.

This commit revert also fixes #6365
This commit is contained in:
Harshavardhana
2018-08-26 23:40:21 -07:00
committed by GitHub
parent 1d6ce115da
commit cea4f82586
3 changed files with 3 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ WORKDIR /go/src/github.com/minio/
COPY dockerscripts/docker-entrypoint.sh dockerscripts/healthcheck.sh /usr/bin/
RUN \
apk add --no-cache ca-certificates && \
apk add --no-cache ca-certificates 'curl>7.61.0' && \
apk add --no-cache --virtual .build-deps git && \
echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf && \
go get -v -d github.com/minio/minio && \