This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
# Install go and latest version | |
curl -sSL https://git.io/g-install | sh -s -- --non-interactive | |
if ! [ -x "$(command -v docker)" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am kireledan on github. | |
* I am kireledan (https://keybase.io/kireledan) on keybase. | |
* I have a public key whose fingerprint is 024F AC98 A79A 398E 7617 5065 2F1C A56F 3A72 01E8 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am kireledan on github. | |
* I am kireledan (https://keybase.io/kireledan) on keybase. | |
* I have a public key whose fingerprint is 024F AC98 A79A 398E 7617 5065 2F1C A56F 3A72 01E8 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def _build_ansible_compatible_image(self): | |
available_images = [ | |
tag.encode('utf-8') | |
for image in self._docker.images() | |
for tag in image.get('RepoTags', []) | |
] | |
for container in self.instances: | |
if container.get('build_image'): | |
msg = ('Creating Ansible compatible ' |