-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile
31 lines (25 loc) · 901 Bytes
/
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
#Makefile for building a default aem docker image and running as a container
#defaults
name=aem65
port=4502
.PHONY: build run
build:
cd docker-centos-tini && \
docker build -t aemdesign/centos-tini:latest. && \
cd ../docker-oracle-jdk && \
docker build -t aemdesign/oracle-jdk:latest . && \
cd ../docker-java-ffmpeg && \
docker build -t aemdesign/java-ffmpeg:latest . && \
cd ../docker-aem-base && \
docker build -t aemdesign/aem-base:latest . && \
cd ../docker-aem && \
docker build -t aemdesign/aem:latest . && \
cd ../docker-dispatcher && \
docker build -t aemdesign/dispatcher:latest .
run:
docker run --name $(name) \
-p$(port):8080 -d \
-v ~/aemdesign-docker/$(name)/crx-quickstart/repository:/aem/crx-quickstart/repository \
-v ~/aemdesign-docker/$(name)/crx-quickstart/logs:/aem/crx-quickstart/logs \
aemdesign/aem
default: build