This file contains hidden or 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
| import sys | |
| import shutil | |
| import tempfile | |
| from os.path import dirname as p_dirname | |
| from os.path import join as p_join | |
| from types import GeneratorType | |
| import unittest | |
| import mock |
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| import subprocess | |
| # Need VPN to get this image | |
| image = 'registry.suse.de/suse/containers/suse-microos/5.2/containers/suse/sle-micro-rancher/5.2:latest' | |
| def get_zypper_packages(dockerfile): | |
| with open(dockerfile, 'r') as f: |
OlderNewer