-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathdev.sh
More file actions
executable file
·21 lines (15 loc) · 621 Bytes
/
dev.sh
File metadata and controls
executable file
·21 lines (15 loc) · 621 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
set -euf -o pipefail
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
DIR="${BASH_SOURCE%/*}"
if [[ ! -d "${DIR}" ]]; then DIR="${PWD}"; fi
. "${DIR}/bash_functions.sh"
check_files
check_dev_files
fix_file_perms
docker compose -f docker-compose.yml -f docker-compose.dev.yml pull
docker compose -f docker-compose.yml -f docker-compose.dev.yml stop
docker compose -f docker-compose.yml -f docker-compose.dev.yml rm -f
docker compose -f docker-compose.yml -f docker-compose.dev.yml --progress=plain build --pull
docker compose -f docker-compose.yml -f docker-compose.dev.yml up --remove-orphans