Skip to content

Commit

Permalink
Updates buildpack template to not use docker (#724)
Browse files Browse the repository at this point in the history
Signed-off-by: Brenda Chan <[email protected]>
  • Loading branch information
bsnchan authored and imjasonh committed May 1, 2018
1 parent 1d87cbd commit 720a7d2
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions sample/templates/buildpack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ spec:
- name: build
image: packs/cf:build
workingdir: "${DIRECTORY}"
env:
volumeMounts:
- name: droplet
mountPath: /out
Expand All @@ -30,24 +29,18 @@ spec:
# In: a CF app droplet in /in
# Out: an image published as $IMAGE
- name: export
image: packs/cf:export-gcr
image: packs/cf:export
workingdir: /in
args: ["${IMAGE}"]
env:
- name: DOCKER_CONFIG
value: /root/.docker
- name: PACK_REGISTRY_GCR
value: "true"
volumeMounts:
- name: droplet
mountPath: /in
- name: docker-socket
mountPath: /var/run/docker.sock

volumes:
- name: droplet
emptyDir: {}
- name: app-cache
emptyDir: {}
- name: docker-socket
hostPath:
path: /var/run/docker.sock
type: Socket

0 comments on commit 720a7d2

Please sign in to comment.