mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 19:32:30 +01:00
7ac4881609
This enables us to remove the following patterns that required a `rm -rf /var/cache/apk`: - `apk update` - `apk add --update` - `apk add --update-cache` Supported since alpine 3.3.
13 lines
217 B
Docker
13 lines
217 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 --no-cache add \
|
|
curl
|
|
|
|
CMD [ "curl" ]
|