Skip to content

Commit

Permalink
Merge pull request #189 from ninech/fix-launcher-path
Browse files Browse the repository at this point in the history
use an absolute path for the launcher binary
  • Loading branch information
thirdeyenick authored Nov 25, 2024
2 parents 420942b + b94eaef commit d3acd03
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions exec/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ import (
const (
appBuildTypeBuildpack appBuildType = "buildpack"
appBuildTypeDockerfile appBuildType = "dockerfile"
buildpackEntrypoint = "launcher"
defaultShellBuildpack = "/bin/bash"
defaultShellDockerfile = "/bin/sh"
// the launcher binary helps in setting up the application expected
// environment
buildpackEntrypoint = "/cnb/lifecycle/launcher"
defaultShellBuildpack = "/bin/bash"
defaultShellDockerfile = "/bin/sh"
)

// appBuildType describes the way how the app was build (buildpack/dockerfile)
Expand Down

0 comments on commit d3acd03

Please sign in to comment.