mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 12:23:35 +01:00
7e9c52b5ab
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
14 lines
250 B
Docker
14 lines
250 B
Docker
# 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" ]
|