Try as root inside the container

This commit is contained in:
jpic 2020-01-26 13:11:57 +01:00
parent 108b8e7927
commit 60dbde87be

2
pod.py
View File

@ -9,7 +9,7 @@ from podctl import *
podctl = Container( podctl = Container(
Base('docker.io/centos'), Base('docker.io/centos'),
Packages('podman', 'buildah', 'python3'), Packages('podman', 'buildah', 'python3'),
User('app', 1000, '/app'), #User('app', 1000, '/app'),
Copy(['setup.py', 'podctl'], '/app'), Copy(['setup.py', 'podctl'], '/app'),
Pip('/app'), Pip('/app'),
Config(cmd='podctl', author='jpic'), Config(cmd='podctl', author='jpic'),