-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
41 lines (35 loc) · 1.43 KB
/
Makefile
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
32
33
34
35
36
37
38
39
40
41
VERSION = 1.1.1
PUSH = false
alpine-base74: NAME = spacetabio/amphp-alpine:7.4-base
alpine-base74:
docker build -f "base/7.4/alpine.dockerfile" -t $(NAME)-$(VERSION) .
@if [ "${PUSH}" == 'true' ]; then \
docker push $(NAME)-$(VERSION) ; \
fi
alpine-test-xdebug74: NAME = spacetabio/amphp-alpine:7.4-test-xdebug
alpine-test-xdebug74:
docker build -f "test-xdebug/7.4/alpine.dockerfile" -t $(NAME)-$(VERSION) .
@if [ "${PUSH}" == 'true' ]; then \
docker push $(NAME)-$(VERSION) ; \
fi
alpine-base-xdebug74: NAME = spacetabio/amphp-alpine:7.4-base-xdebug
alpine-base-xdebug74:
docker build -f "base-xdebug/7.4/alpine.dockerfile" -t $(NAME)-$(VERSION) .
@if [ "${PUSH}" == 'true' ]; then \
docker push $(NAME)-$(VERSION) ; \
fi
alpine-wkhtmltopdf74: NAME = spacetabio/amphp-alpine:7.4-wkhtmltopdf
alpine-wkhtmltopdf74:
docker build -f "wkhtmltopdf/7.4/alpine.dockerfile" -t $(NAME)-$(VERSION) .
@if [ "${PUSH}" == 'true' ]; then \
docker push $(NAME)-$(VERSION) ; \
fi
alpine-wkhtmltopdf-xdebug74: NAME = spacetabio/amphp-alpine:7.4-wkhtmltopdf-xdebug
alpine-wkhtmltopdf-xdebug74:
docker build -f "wkhtmltopdf-xdebug/7.4/alpine.dockerfile" -t $(NAME)-$(VERSION) .
@if [ "${PUSH}" == 'true' ]; then \
docker push $(NAME)-$(VERSION) ; \
fi
base74: alpine-base74 alpine-base-xdebug74
wk74: alpine-wkhtmltopdf74 alpine-wkhtmltopdf-xdebug74
all74: alpine-base74 alpine-base-xdebug74 alpine-wkhtmltopdf74 alpine-wkhtmltopdf-xdebug74