mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-06 00:05:29 +00:00
15 lines
509 B
Bash
Executable File
15 lines
509 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Builds the web app image start.sh runs, from the working tree, with the release Dockerfile.
|
|
# The backend image is pulled by start.sh.
|
|
#
|
|
# scripts/qa-environment/build.sh # once, and whenever the code under test changes
|
|
#
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
REPO_DIR="$(cd "$SCRIPT_DIR/../.." && pwd)"
|
|
|
|
# host network: pub get fails from the default bridge network on some hosts
|
|
docker build --network host -t tmail-web-qa -f "$REPO_DIR/Dockerfile" "$REPO_DIR"
|