We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c0b4ed + 15cf97b commit 519a096Copy full SHA for 519a096
index.js
@@ -18,6 +18,17 @@ async function updateUbuntu() {
18
)
19
}
20
21
+// Installs python3.7
22
+async function installPython() {
23
+ await exeq(
24
+ 'echo Installing python3...',
25
+ 'sudo apt-get install software-properties-common -y',
26
+ 'sudo add-apt-repository ppa:deadsnakes/ppa -y',
27
+ 'sudo apt-get install python3.7 -y',
28
+ 'sudo python --version'
29
+ )
30
+}
31
+
32
// Reinstalls Docker on Ubuntu
33
async function installDocker() {
34
await exeq(
@@ -63,6 +74,7 @@ async function handler() {
63
74
await installDocker()
64
75
await installServerlessAndPlugins()
65
76
// var setCredentials = await setServerlessCredentials()
77
+ await installPython()
66
78
await runServerlessDeploy()
67
79
68
80
0 commit comments