Sha256: 1458da6d1382b78d5b8b0708816ac817507d24d5e586e0df4783a37a03548c7a

Contents?: true

Size: 1.06 KB

Versions: 6

Compression:

Stored size: 1.06 KB

Contents

# Runs right_chimp (https://rubygems.org/gems/right_chimp) ruby gem from a container
###
# Arbitrary chimp commands executed in container -or- defaults to running execution daemon ('chimpd')
# * Requires volume share with creds to /root/
# - ex1 - Execute arbitrary chimp command:
# => docker run -it -p -v ~/.rest_connection:/root/.rest_connection:ro mastamark/right_chimp:latest chimp --tag="some:tag=true" --script="MyScript"
# - ex2 - Start right_chimp daemon with docker host port 9055 bound to same container port:
# => docker run -d -p 9055:9055 -v ~/.rest_connection:/root/.rest_connection:ro mastamark/right_chimp:latest
# Send your dockerized chimp queries to your dockerized chimpd by adding flag "--chimpd=172.17.0.1:9055" (assuming this is your docker host ip) to chimp queries.
###
# Built via: docker build -t mastamark/right_chimp:latest .
###

FROM rightscale/ops_ruby22x_build
MAINTAINER mastamark+github@gmail.com
WORKDIR /srv
ADD right_chimp.sh /srv/

RUN gem install right_chimp --no-ri --no-rdoc

ENTRYPOINT ["/srv/right_chimp.sh"]
CMD ["chimpd"]
EXPOSE 9055

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
right_chimp-2.1.19.1 docker/Dockerfile
right_chimp-2.1.19 docker/Dockerfile
right_chimp-2.1.18 docker/Dockerfile
right_chimp-2.1.17 docker/Dockerfile
right_chimp-2.1.15 docker/Dockerfile
right_chimp-2.1.14 docker/Dockerfile