From 720a7d2e1bfb3e1bbc874bc1e0319264f2a87174 Mon Sep 17 00:00:00 2001 From: Brenda Chan Date: Mon, 30 Apr 2018 21:49:22 -0400 Subject: [PATCH] Updates buildpack template to not use docker (#724) Signed-off-by: Brenda Chan --- sample/templates/buildpack.yaml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/sample/templates/buildpack.yaml b/sample/templates/buildpack.yaml index b6a62f66af0d..67f431e6d1c3 100644 --- a/sample/templates/buildpack.yaml +++ b/sample/templates/buildpack.yaml @@ -20,7 +20,6 @@ spec: - name: build image: packs/cf:build workingdir: "${DIRECTORY}" - env: volumeMounts: - name: droplet mountPath: /out @@ -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