Script modified
This commit is contained in:
parent
43c26dc8f8
commit
c80d3c0d92
|
|
@ -17,6 +17,7 @@
|
||||||
"name": "next"
|
"name": "next"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./src/*"]
|
"@/*": ["./src/*"]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
10
install.sh
10
install.sh
|
|
@ -362,11 +362,17 @@ ${COMPOSE_CMD} down 2>/dev/null || true
|
||||||
# User-Template Image bauen (fuer User-Container)
|
# User-Template Image bauen (fuer User-Container)
|
||||||
if [ -d "${INSTALL_DIR}/user-template" ]; then
|
if [ -d "${INSTALL_DIR}/user-template" ]; then
|
||||||
echo " [1/4] Baue user-service-template (User-Container)..."
|
echo " [1/4] Baue user-service-template (User-Container)..."
|
||||||
if docker build --no-cache -t user-service-template:latest "${INSTALL_DIR}/user-template/" > /dev/null 2>&1; then
|
echo ""
|
||||||
|
|
||||||
|
if docker build --no-cache --progress=plain -t user-service-template:latest "${INSTALL_DIR}/user-template/" 2>&1 | \
|
||||||
|
grep -E "^(Step |#[0-9]+ |Successfully|ERROR|error:)" | \
|
||||||
|
sed 's/^/ /'; then
|
||||||
|
echo ""
|
||||||
echo -e " user-service-template: ${GREEN}OK${NC}"
|
echo -e " user-service-template: ${GREEN}OK${NC}"
|
||||||
else
|
else
|
||||||
|
echo ""
|
||||||
echo -e " user-service-template: ${RED}FEHLER${NC}"
|
echo -e " user-service-template: ${RED}FEHLER${NC}"
|
||||||
echo " Versuche mit detaillierter Ausgabe..."
|
echo " Versuche erneut mit voller Ausgabe..."
|
||||||
docker build --no-cache -t user-service-template:latest "${INSTALL_DIR}/user-template/"
|
docker build --no-cache -t user-service-template:latest "${INSTALL_DIR}/user-template/"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user