Skip to content

Commit

Permalink
Cleanup docker image script
Browse files Browse the repository at this point in the history
  • Loading branch information
lpabon committed Dec 8, 2017
1 parent d9811b7 commit 998b5ad
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions extras/docker/make.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/sh

docker build -f Dockerfile.builder -t provisioner:builder .
docker run --privileged -v $PWD:/host provisioner:builder cp /go/bin/csi-provisioner /host/csi-provisioner
docker build --rm -f Dockerfile.builder -t provisioner:builder .
docker run --rm --privileged -v $PWD:/host provisioner:builder cp /go/bin/csi-provisioner /host/csi-provisioner
sudo chown $USER csi-provisioner
docker build -t docker.io/k8scsi/csi-provisioner .
docker build --rm -t docker.io/k8scsi/csi-provisioner .
docker rmi provisioner:builder
rm -f csi-provisioner

0 comments on commit 998b5ad

Please sign in to comment.