Spaces:
Runtime error
Runtime error
Commit
•
b2f7ed9
1
Parent(s):
9307ea1
Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ def run_command(command):
|
|
12 |
def install_sudo():
|
13 |
run_command("apt-get update")
|
14 |
run_command("apt-get -y full-upgrade")
|
15 |
-
run_command("apt-get install sudo")
|
16 |
-
|
17 |
def install_docker():
|
18 |
try:
|
19 |
subprocess.run(['docker', '--version'], check=True)
|
@@ -32,4 +32,4 @@ def main():
|
|
32 |
if __name__ == "__main__":
|
33 |
install_sudo()
|
34 |
install_docker()
|
35 |
-
main()
|
|
|
12 |
def install_sudo():
|
13 |
run_command("apt-get update")
|
14 |
run_command("apt-get -y full-upgrade")
|
15 |
+
run_command("apt-get install -y sudo")
|
16 |
+
|
17 |
def install_docker():
|
18 |
try:
|
19 |
subprocess.run(['docker', '--version'], check=True)
|
|
|
32 |
if __name__ == "__main__":
|
33 |
install_sudo()
|
34 |
install_docker()
|
35 |
+
main()
|