mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
curl container
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
parent
70d66074d2
commit
7e9c52b5ab
13
curl/Dockerfile
Normal file
13
curl/Dockerfile
Normal 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" ]
|
Loading…
Reference in New Issue
Block a user