mirror of
https://github.com/dokku/dokku.git
synced 2026-02-24 04:00:36 +01:00
chore: drop unused code
The builder-pack rename makes this unnecessary.
This commit is contained in:
@@ -8,19 +8,6 @@ trigger-builder-dockerfile-builder-detect() {
|
||||
declare trigger="builder-detect"
|
||||
declare APP="$1" SOURCECODE_WORK_DIR="$2"
|
||||
|
||||
# buildpacks always win against dockerfile detection
|
||||
# that includes cnb
|
||||
if [[ -f "$SOURCECODE_WORK_DIR/project.toml" ]]; then
|
||||
return
|
||||
fi
|
||||
|
||||
# buildpacks always win against dockerfile detection
|
||||
# that includes cnb
|
||||
if [[ "$(config_get "$APP" DOKKU_CNB_EXPERIMENTAL || true)" == "1" ]]; then
|
||||
echo "cnb"
|
||||
return
|
||||
fi
|
||||
|
||||
if [[ -f "$SOURCECODE_WORK_DIR/Dockerfile" ]]; then
|
||||
echo "dockerfile"
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user