Use k8s-exec instead of shell

This commit is contained in:
Tyler Auerbeck
2020-07-19 04:20:57 -04:00
committed by Shane McDonald
parent aa579cf61f
commit 8b681313bc
4 changed files with 46 additions and 31 deletions

View File

@@ -1,8 +1,5 @@
FROM quay.io/operator-framework/ansible-operator:v0.17.0
# Install kubectl.
COPY --from=lachlanevenson/k8s-kubectl:v1.18.3 /usr/local/bin/kubectl /usr/local/bin/kubectl
# Install Ansible requirements.
COPY requirements.yml ${HOME}/requirements.yml
RUN ansible-galaxy collection install -r ${HOME}/requirements.yml \