forked from stuckless/sagetv-dockers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildDockers.sh
executable file
·20 lines (19 loc) · 971 Bytes
/
buildDockers.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env bash
if [ "$1" = "" ] ; then
# if rebuilding comskip
# docker build -t stuckless/comskip-build:latest comskip-build/
# cp /tmp/Comskip/comskip ./sagetv-base/
# chmod 775 sagetv-base/comskip
# stop if any fail
#docker build -t stuckless/sagetv-base:latest sagetv-base/ && \
#docker build -t stuckless/sagetv-server-java7:latest sagetv-server-java7/ && \
#docker build -t stuckless/sagetv-server-java8:latest sagetv-server-java8/ && \
#docker build -t stuckless/sagetv-server-java9:latest sagetv-server-java9/ && \
#docker build -t stuckless/sagetv-server-java10:latest sagetv-server-java10/
docker build -t stuckless/sagetv-server-java11:latest sagetv-server-java11/
# docker build -t stuckless/sagetv-server-beta:latest sagetv-server-beta/
# docker build -t stuckless/sagetv-server-beta:latest sagetv-server-beta/
else
DOCKERDIR=`basename $1`
docker build -t stuckless/${DOCKERDIR}:latest $1/
fi