shlax/pod.py
2020-01-25 16:52:37 +01:00

18 lines
371 B
Python

"""
Basic pod to contain the podctl command.
For advanced examples, check the examples sub-directory of the git repository.
"""
from podctl import *
podctl = Container(
Base('alpine'),
Packages('bash', 'python3'),
User('app', 1000, '/app'),
Copy(['setup.py', 'podctl'], '/app'),
Pip('/app'),
Config(cmd='podctl'),
Tag('yourlabs/podctl'),
)