Skip to content

Instantly share code, notes, and snippets.

@jakerobinson
Created July 20, 2021 20:29
Show Gist options
  • Save jakerobinson/a437c9a776a462592ba508edc33a9551 to your computer and use it in GitHub Desktop.
Save jakerobinson/a437c9a776a462592ba508edc33a9551 to your computer and use it in GitHub Desktop.
Ansible Rubrik Docker Image
FROM centos:7
ENV ANSIBLE_VERSION 2.9.17
RUN yum check-update; \
yum install -y gcc libffi-devel python3 epel-release; \
yum install -y python3-pip; \
yum clean all
RUN pip3 install --upgrade pip; \
pip3 install ansible rubrik_cdm
RUN ansible-galaxy collection install rubrikinc.cdm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment