mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 13:28:30 +01:00
add dcos cli
Signed-off-by: Jess Frazelle <jess@mesosphere.com>
This commit is contained in:
parent
949109eead
commit
4ade5b9b48
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" ]
|
Loading…
Reference in New Issue
Block a user