frigate/Makefile

55 lines
2.1 KiB
Makefile
Raw Normal View History

2020-10-07 16:25:54 -05:00
default_target: amd64_frigate
2020-12-19 06:51:10 -06:00
COMMIT_HASH := $(shell git log -1 --pretty=format:"%h")
version:
echo "VERSION='0.8.0-$(COMMIT_HASH)'" > frigate/version.py
2020-10-07 16:25:54 -05:00
amd64_wheels:
docker build --tag blakeblackshear/frigate-wheels:amd64 --file docker/Dockerfile.wheels .
amd64_ffmpeg:
2020-12-19 10:50:53 -06:00
docker build --tag blakeblackshear/frigate-ffmpeg:1.1.0-amd64 --file docker/Dockerfile.ffmpeg.amd64 .
2020-10-07 16:25:54 -05:00
2020-12-19 06:51:10 -06:00
amd64_frigate: version
2020-12-19 10:50:53 -06:00
docker build --tag frigate-base --build-arg ARCH=amd64 --build-arg FFMPEG_VERSION=1.1.0 --file docker/Dockerfile.base .
2020-10-07 16:25:54 -05:00
docker build --tag frigate --file docker/Dockerfile.amd64 .
amd64_all: amd64_wheels amd64_ffmpeg amd64_frigate
2020-11-07 11:57:10 -06:00
amd64nvidia_wheels:
docker build --tag blakeblackshear/frigate-wheels:amd64nvidia --file docker/Dockerfile.wheels .
amd64nvidia_ffmpeg:
2020-12-06 07:09:14 -06:00
docker build --tag blakeblackshear/frigate-ffmpeg:1.0.0-amd64nvidia --file docker/Dockerfile.ffmpeg.amd64nvidia .
2020-11-07 11:57:10 -06:00
2020-12-19 06:51:10 -06:00
amd64nvidia_frigate: version
2020-12-19 10:50:53 -06:00
docker build --tag frigate-base --build-arg ARCH=amd64nvidia --build-arg FFMPEG_VERSION=1.0.0 --file docker/Dockerfile.base .
2020-11-07 11:57:10 -06:00
docker build --tag frigate --file docker/Dockerfile.amd64nvidia .
amd64nvidia_all: amd64nvidia_wheels amd64nvidia_ffmpeg amd64nvidia_frigate
2020-10-18 10:42:01 -05:00
aarch64_wheels:
docker build --tag blakeblackshear/frigate-wheels:aarch64 --file docker/Dockerfile.wheels.aarch64 .
2020-10-07 16:25:54 -05:00
2020-10-18 10:42:01 -05:00
aarch64_ffmpeg:
2020-12-06 07:09:14 -06:00
docker build --tag blakeblackshear/frigate-ffmpeg:1.0.0-aarch64 --file docker/Dockerfile.ffmpeg.aarch64 .
2020-10-07 16:25:54 -05:00
2020-12-19 06:51:10 -06:00
aarch64_frigate: version
2020-12-19 10:50:53 -06:00
docker build --tag frigate-base --build-arg ARCH=aarch64 --build-arg FFMPEG_VERSION=1.0.0 --file docker/Dockerfile.base .
2020-10-18 10:42:01 -05:00
docker build --tag frigate --file docker/Dockerfile.aarch64 .
2020-10-07 16:25:54 -05:00
2020-10-18 10:42:01 -05:00
armv7_all: armv7_wheels armv7_ffmpeg armv7_frigate
2020-10-07 16:25:54 -05:00
2020-10-18 10:42:01 -05:00
armv7_wheels:
docker build --tag blakeblackshear/frigate-wheels:armv7 --file docker/Dockerfile.wheels .
2020-10-07 16:25:54 -05:00
2020-10-18 10:42:01 -05:00
armv7_ffmpeg:
2020-12-06 07:09:14 -06:00
docker build --tag blakeblackshear/frigate-ffmpeg:1.0.0-armv7 --file docker/Dockerfile.ffmpeg.armv7 .
2020-10-07 16:25:54 -05:00
2020-12-19 06:51:10 -06:00
armv7_frigate: version
2020-12-19 10:50:53 -06:00
docker build --tag frigate-base --build-arg ARCH=armv7 --build-arg FFMPEG_VERSION=1.0.0 --file docker/Dockerfile.base .
2020-10-18 10:42:01 -05:00
docker build --tag frigate --file docker/Dockerfile.armv7 .
2020-10-07 16:25:54 -05:00
2020-10-18 10:42:01 -05:00
armv7_all: armv7_wheels armv7_ffmpeg armv7_frigate