mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 12:23:35 +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.
14 lines
261 B
Docker
14 lines
261 B
Docker
FROM alpine:latest
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
RUN apk --no-cache add \
|
|
ca-certificates \
|
|
python \
|
|
py-pip \
|
|
&& pip install dcoscli
|
|
|
|
# path to the DCOS CLI binary
|
|
RUN echo 'export PATH=$PATH:/dcos/bin;' >> ~/.bashrc
|
|
|
|
ENTRYPOINT [ "dcos" ]
|