curl container

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
Jessica Frazelle 2015-12-10 10:30:03 -08:00
parent 70d66074d2
commit 7e9c52b5ab
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

13
curl/Dockerfile Normal file
View File

@ -0,0 +1,13 @@
# curl in a container
#
# docker run --rm -it \
# jess/curl -sSL https://check.torproject.org/api/ip
#
FROM alpine:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apk update && apk add \
curl \
&& rm -rf /var/cache/apk/*
CMD [ "curl" ]