forked from rancher/rancher-compose-executor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (26 loc) · 767 Bytes
/
Copy pathMakefile
File metadata and controls
31 lines (26 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
TARGETS := $(shell ls scripts)
DAPPER_IMAGE ?= pasturestack-compose-cli-dapper:ubuntu26
DAPPER_SOURCE ?= /go/src/github.com/PastureStack/compose-cli
.dapper-image: Dockerfile.dapper
docker build \
--build-arg DAPPER_HOST_ARCH=$${DAPPER_HOST_ARCH:-amd64} \
-t $(DAPPER_IMAGE) \
-f Dockerfile.dapper .
$(TARGETS): .dapper-image
docker run --rm \
-v $(CURDIR):$(DAPPER_SOURCE) \
-e DAPPER_UID=$$(id -u) \
-e DAPPER_GID=$$(id -g) \
-e TAG \
-e REPO \
-e CROSS \
-e VERSION_OVERRIDE \
-e SKIP_INTEGRATION \
-e PLATFORM_COMPAT_JAR_URL \
-e PLATFORM_COMPAT_JAR_SHA256 \
-e CATTLE_JAR_URL \
$(DAPPER_IMAGE) $@
deps:
@echo "Dependencies are vendored; no external dependency fetch is required."
.DEFAULT_GOAL := ci
.PHONY: $(TARGETS) deps