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.
1 parent 4d298b7 commit 3dd73ffCopy full SHA for 3dd73ff
executor/executor_utils.py
@@ -9,7 +9,7 @@
9
client = docker.DockerClient()
10
11
# Image uploaded to Docker; contains environment to run code for Java, Python, and C++.
12
-IMAGE_NAME = 'dannyhp/coderpad'
+IMAGE_NAME = 'dannyhp/coderpad_env'
13
# Code file created in temporary build directory.
14
CURRENT_DIR = os.path.dirname(os.path.realpath(__file__))
15
TEMP_BUILD_DIR = '%s/tmp' % CURRENT_DIR
@@ -30,13 +30,13 @@
30
31
BUILD_COMMANDS = {
32
"java" : "javac",
33
- "python" : "python -u",
+ "python" : "python3 -u",
34
"c_cpp" : "g++ -o a.out"
35
}
36
37
EXECUTE_COMMANDS = {
38
"java" : "java",
39
- "python" : "python",
+ "python" : "python3",
40
"c_cpp" : "./"
41
42
0 commit comments