feat: add build cache

This commit is contained in:
Jose Diaz-Gonzalez committed 2020-06-20 00:04:27 -04:00
1 parent 02d9c53520
commit 9c300dc14b
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ build-in-docker: clean
mkdir -p /tmp/dokku-go-build-cache mkdir -p /tmp/dokku-go-build-cache
docker run --rm \ docker run --rm \
-v $$PWD/../..:$(GO_REPO_ROOT) \ -v $$PWD/../..:$(GO_REPO_ROOT) \
-v /tmp/dokku-go-build-cache:/root/.cache/go-build \ -v /tmp/dokku-go-build-cache:/root/.cache \
-e PLUGIN_NAME=$(PLUGIN_NAME) \ -e PLUGIN_NAME=$(PLUGIN_NAME) \
-w $(GO_REPO_ROOT)/plugins/$(PLUGIN_NAME) \ -w $(GO_REPO_ROOT)/plugins/$(PLUGIN_NAME) \
$(BUILD_IMAGE) \ $(BUILD_IMAGE) \