mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-08 22:32:39 +01:00
14
dcos-cli/Dockerfile
Normal file
14
dcos-cli/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
FROM alpine:latest
|
||||||
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||||
|
|
||||||
|
RUN apk update && apk add \
|
||||||
|
ca-certificates \
|
||||||
|
python \
|
||||||
|
py-pip \
|
||||||
|
&& rm -rf /var/cache/apk/* \
|
||||||
|
&& pip install dcoscli
|
||||||
|
|
||||||
|
# path to the DCOS CLI binary
|
||||||
|
RUN echo 'export PATH=$PATH:/dcos/bin;' >> ~/.bashrc
|
||||||
|
|
||||||
|
ENTRYPOINT [ "dcos" ]
|
||||||
Reference in New Issue
Block a user