-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
60 lines (54 loc) · 1.89 KB
/
Dockerfile
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
FROM python:2.7.18-alpine
ENV TRIGGER_MODULES = "file \
parse \
tabbar \
display \
topbar \
oauth \
urlhandler \
tabs \
prefs \
media \
request \
capture \
permissions \
browsersettings \
notification \
bolts \
barcode \
contact \
gallery \
share \
geolocation \
httpd \
icons \
calendar \
launchimage \
platform \
splitscreen \
payments \
accelerometer \
facebook \
camera \
segmentio \
flurry \
ua-push \
sms \
ui \
parameters"
RUN apk fix && \
apk --no-cache --update add git git-lfs less openssh && \
git lfs install && \
git clone https://github.com/trigger-corp/libreforge.git /libreforge.git && \
mkdir module_checkouts && \
cd module_checkouts && \
sh -c 'for m in $TRIGGER_MODULES; do \
echo "Cloning https://github.com/trigger-corp/trigger.io-$m.git" && \
git clone https://github.com/trigger-corp/trigger.io-$m.git trigger.io-$m.git; \
done'
RUN cd /libreforge.git/generate && \
git config --global url."https://".insteadOf git:// && \
pip install -r requirements.txt && \
python setup.py develop
ENTRYPOINT ["forge-generate"]
CMD ["-h"]