mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-23 19:11:14 +01:00
65825040a3
* Make it easier to run the devcontainer * Some more improvements * Tidy up few other things * Better name stages * Fix CI * Setup everything with one click * Allow to set IMAGE_OWNER * Change IMAGE_OWNER to IMAGE_REPO * Fix CI with IMAGE_REPO * Fix nodejs installation * Test devcontainer build as part of CI * Build devcontainer in its own job * Fix devcontainer cli installation * Fix devcontainer build * Fix devcontainer build in CI again * Enable buildkit only * Increase coverage of devcontainer test * Fix devcontainer start in CI * Ensure latest version of docker compose is used * Fix install compose action * Disable CI stuff which does not work until we fix them
14 lines
334 B
Bash
Executable File
14 lines
334 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
# These folders needs to be created and owned by the host user
|
|
mkdir -p debug web/dist
|
|
|
|
if [[ -f "config/config.yml" ]]; then
|
|
echo "config/config.yml already exists, skipping initialization" >&2
|
|
else
|
|
echo "initializing config/config.yml" >&2
|
|
cp -fv config/config.yml.example config/config.yml
|
|
fi
|