Skip to content

Commit

Permalink
Dont output docker command result (#255)
Browse files Browse the repository at this point in the history
* dont output the docker command result

* update missing docker message
  • Loading branch information
coffee-cup authored Jul 2, 2022
1 parent 7a1e489 commit 4a6528b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nixpacks/builder/docker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ impl DockerBuilder {
fn get_docker_build_cmd(&self, plan: &BuildPlan, name: &str, dest: &str) -> Result<Command> {
let mut docker_build_cmd = Command::new("docker");

if docker_build_cmd.status().is_err() {
bail!("Please install Docker first https://docs.docker.com/engine/install/")
if docker_build_cmd.output().is_err() {
bail!("Please install Docker to build the app https://docs.docker.com/engine/install/")
}

if self.options.force_buildkit {
Expand Down

0 comments on commit 4a6528b

Please sign in to comment.