mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +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
18 lines
380 B
Bash
Executable File
18 lines
380 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
# Frigate normal container runs as root, so it have permission to create
|
|
# the folders. But the devcontainer runs as the host user, so we need to
|
|
# create the folders and give the host user permission to write to them.
|
|
sudo mkdir -p /media/frigate
|
|
sudo chown -R "$(id -u):$(id -g)" /media/frigate
|
|
|
|
make version
|
|
|
|
cd web
|
|
|
|
npm install
|
|
|
|
npm run build
|