Skip to content

Commit 35b8495

Browse files
author
Arne-Christian Blystad
committed
ref(builder): Remove /buildpacks override
The /buildpacks override in deis-builder never worked in the first place. When removed, this reduces an extra edge case to test for when testing deis-builder. In addition, there are multiple ways of setting your own custom buildpacks: * custom slugbuilder (requires custom deis-builder) * multi-buildpack (.buildpacks file) * BUILDPACK_URL environment variable
1 parent 326f1a3 commit 35b8495

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

builder/image/templates/builder

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,6 @@ BUILD_OPTS+=$(echo $RESPONSE | /app/bin/get-app-values)
9494
# if no Dockerfile is present, use slugbuilder to compile a heroku slug
9595
# and write out a Dockerfile to use that slug
9696
if [ ! -f Dockerfile ]; then
97-
if [ -f /buildpacks ]; then
98-
BUILD_OPTS+=' -v /buildpacks:/tmp/buildpacks:rw'
99-
# give non-root slugbuilder user R/W perms for docker volumes
100-
chown -R 2000:2000 /buildpacks
101-
fi
102-
10397
# run in the background, we'll attach to it to retrieve logs
10498
BUILD_OPTS+=' -d'
10599
BUILD_OPTS+=' -v '

0 commit comments

Comments
 (0)