Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#intellij
*.iml
.idea/
4 changes: 4 additions & 0 deletions cmd/ipi-deprovision/ipi-deprovision.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

### TODO: implement the logic in https://jira.coreos.com/browse/DPTP-471
aws --version
13 changes: 13 additions & 0 deletions images/ipi-deprovision/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM registry.svc.ci.openshift.org/openshift/hive-v4.0:hive
LABEL maintainer="[email protected]"

COPY cmd/ipi-deprovision/ipi-deprovision.sh /usr/bin/ipi-deprovision.sh

# Install awscli
RUN chmod +x /usr/bin/ipi-deprovision.sh && \
curl -O https://bootstrap.pypa.io/get-pip.py && \
python get-pip.py && \
rm -fv get-pip.py && \
pip install awscli==1.16.202

ENTRYPOINT ["/usr/bin/ipi-deprovision.sh"]