2020-10-07 23:25:54 +02:00
|
|
|
default_target: amd64_frigate
|
|
|
|
|
2021-01-13 19:02:44 +01:00
|
|
|
COMMIT_HASH := $(shell git log -1 --pretty=format:"%h"|tail -1)
|
2020-12-19 13:51:10 +01:00
|
|
|
|
|
|
|
version:
|
2021-02-22 14:28:57 +01:00
|
|
|
echo "VERSION='0.9.0-$(COMMIT_HASH)'" > frigate/version.py
|
2020-12-19 13:51:10 +01:00
|
|
|
|
2021-01-09 18:26:46 +01:00
|
|
|
web:
|
2021-01-15 14:53:44 +01:00
|
|
|
docker build --tag frigate-web --file docker/Dockerfile.web web/
|
2021-01-09 18:26:46 +01:00
|
|
|
|
2020-10-07 23:25:54 +02:00
|
|
|
amd64_wheels:
|
2021-02-18 14:13:10 +01:00
|
|
|
docker build --tag blakeblackshear/frigate-wheels:1.0.3-amd64 --file docker/Dockerfile.wheels .
|
2020-10-07 23:25:54 +02:00
|
|
|
|
|
|
|
amd64_ffmpeg:
|
2021-06-26 20:58:21 +02:00
|
|
|
docker build --no-cache --pull --tag blakeblackshear/frigate-ffmpeg:1.2.0-amd64 --file docker/Dockerfile.ffmpeg.amd64 .
|
2020-10-07 23:25:54 +02:00
|
|
|
|
2021-05-18 08:27:45 +02:00
|
|
|
nginx_frigate:
|
2021-07-11 23:51:34 +02:00
|
|
|
docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag blakeblackshear/frigate-nginx:1.0.1 --file docker/Dockerfile.nginx .
|
2021-05-18 07:52:08 +02:00
|
|
|
|
2021-05-30 17:31:25 +02:00
|
|
|
amd64_frigate: version web
|
2021-07-11 23:51:34 +02:00
|
|
|
docker build --no-cache --tag frigate-base --build-arg ARCH=amd64 --build-arg FFMPEG_VERSION=1.1.0 --build-arg WHEELS_VERSION=1.0.3 --build-arg NGINX_VERSION=1.0.1 --file docker/Dockerfile.base .
|
2021-07-03 16:50:55 +02:00
|
|
|
docker build --no-cache --tag frigate --file docker/Dockerfile.amd64 .
|
2020-10-07 23:25:54 +02:00
|
|
|
|
|
|
|
amd64_all: amd64_wheels amd64_ffmpeg amd64_frigate
|
|
|
|
|
2020-11-07 18:57:10 +01:00
|
|
|
amd64nvidia_wheels:
|
2021-02-18 14:13:10 +01:00
|
|
|
docker build --tag blakeblackshear/frigate-wheels:1.0.3-amd64nvidia --file docker/Dockerfile.wheels .
|
2020-11-07 18:57:10 +01:00
|
|
|
|
|
|
|
amd64nvidia_ffmpeg:
|
2021-07-03 17:08:32 +02:00
|
|
|
docker build --no-cache --pull --tag blakeblackshear/frigate-ffmpeg:1.2.0-amd64nvidia --file docker/Dockerfile.ffmpeg.amd64nvidia .
|
2020-11-07 18:57:10 +01:00
|
|
|
|
2021-05-30 17:31:25 +02:00
|
|
|
amd64nvidia_frigate: version web
|
2021-07-11 23:51:34 +02:00
|
|
|
docker build --no-cache --tag frigate-base --build-arg ARCH=amd64nvidia --build-arg FFMPEG_VERSION=1.0.0 --build-arg WHEELS_VERSION=1.0.3 --build-arg NGINX_VERSION=1.0.1 --file docker/Dockerfile.base .
|
2021-07-03 16:50:55 +02:00
|
|
|
docker build --no-cache --tag frigate --file docker/Dockerfile.amd64nvidia .
|
2020-11-07 18:57:10 +01:00
|
|
|
|
|
|
|
amd64nvidia_all: amd64nvidia_wheels amd64nvidia_ffmpeg amd64nvidia_frigate
|
|
|
|
|
2020-10-18 17:42:01 +02:00
|
|
|
aarch64_wheels:
|
2021-02-18 14:13:10 +01:00
|
|
|
docker build --tag blakeblackshear/frigate-wheels:1.0.3-aarch64 --file docker/Dockerfile.wheels .
|
2020-10-07 23:25:54 +02:00
|
|
|
|
2020-10-18 17:42:01 +02:00
|
|
|
aarch64_ffmpeg:
|
2021-07-03 17:08:32 +02:00
|
|
|
docker build --no-cache --pull --tag blakeblackshear/frigate-ffmpeg:1.2.0-aarch64 --file docker/Dockerfile.ffmpeg.aarch64 .
|
2020-10-07 23:25:54 +02:00
|
|
|
|
2021-05-30 17:31:25 +02:00
|
|
|
aarch64_frigate: version web
|
2021-07-11 23:51:34 +02:00
|
|
|
docker build --no-cache --tag frigate-base --build-arg ARCH=aarch64 --build-arg FFMPEG_VERSION=1.0.0 --build-arg WHEELS_VERSION=1.0.3 --build-arg NGINX_VERSION=1.0.1 --file docker/Dockerfile.base .
|
2021-07-03 16:50:55 +02:00
|
|
|
docker build --no-cache --tag frigate --file docker/Dockerfile.aarch64 .
|
2020-10-07 23:25:54 +02:00
|
|
|
|
2020-10-18 17:42:01 +02:00
|
|
|
armv7_all: armv7_wheels armv7_ffmpeg armv7_frigate
|
2020-10-07 23:25:54 +02:00
|
|
|
|
2020-10-18 17:42:01 +02:00
|
|
|
armv7_wheels:
|
2021-02-18 14:13:10 +01:00
|
|
|
docker build --tag blakeblackshear/frigate-wheels:1.0.3-armv7 --file docker/Dockerfile.wheels .
|
2020-10-07 23:25:54 +02:00
|
|
|
|
2020-10-18 17:42:01 +02:00
|
|
|
armv7_ffmpeg:
|
2021-07-03 17:08:32 +02:00
|
|
|
docker build --no-cache --pull --tag blakeblackshear/frigate-ffmpeg:1.2.0-armv7 --file docker/Dockerfile.ffmpeg.armv7 .
|
2020-10-07 23:25:54 +02:00
|
|
|
|
2021-05-30 17:31:25 +02:00
|
|
|
armv7_frigate: version web
|
2021-07-11 23:51:34 +02:00
|
|
|
docker build --no-cache --tag frigate-base --build-arg ARCH=armv7 --build-arg FFMPEG_VERSION=1.0.0 --build-arg WHEELS_VERSION=1.0.3 --build-arg NGINX_VERSION=1.0.1 --file docker/Dockerfile.base .
|
2021-07-03 16:50:55 +02:00
|
|
|
docker build --no-cache --tag frigate --file docker/Dockerfile.armv7 .
|
2020-10-07 23:25:54 +02:00
|
|
|
|
2020-10-18 17:42:01 +02:00
|
|
|
armv7_all: armv7_wheels armv7_ffmpeg armv7_frigate
|
2021-01-09 18:26:46 +01:00
|
|
|
|
|
|
|
.PHONY: web
|