Skip to content

Commit

Permalink
create docker command from PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Nov 26, 2024
1 parent 4454680 commit 595ca53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ impl AmberCompiler {
#[cfg(not(windows))]
fn find_bash() -> Option<Command> {
if env::var("GITHUB_ACTIONS_BASH_CONTAINER").is_ok() {
let mut command = Command::new("/usr/bin/docker");
let mut command = Command::new("docker");
command.args(["exec", "--workdir", "/root", "--user", "405", "test_container", "bash"]);
Some(command)
} else {
Expand Down

0 comments on commit 595ca53

Please sign in to comment.