mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-12-03 14:50:39 +01:00
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" ]
|