Skip to content

Commit

Permalink
fix: container permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
leon0399 committed Feb 16, 2024
1 parent 1b4e10f commit 702300f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ services:
command: ./docker-entrypoint.sh
tty: true
stdin_open: true
cap_add:
- SYS_ADMIN
security_opt:
- apparmor:unconfermed
# cap_add:
# - SYS_ADMIN
# security_opt:
# - apparmor:unconfermed
working_dir: /app
volumes:
- ./:/app
Expand Down
2 changes: 1 addition & 1 deletion run_on_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
language, category, script = parts[0], parts[1], parts[2]
script_name = script.split('.')[0] # Extract script name without extension
# Assuming the benchmark script supports language and script parameters
command = f"./benchmark.py --languages {language} --scripts {category}/{script_name}"
command = f"python3 ./benchmark.py --languages {language} --scripts {category}/{script_name}"
benchmark_commands.add(command)

# Executing benchmark commands
Expand Down

0 comments on commit 702300f

Please sign in to comment.