<commit_before>#------------------------------------------------------------------------------
# Copyright (c) 2015, 2016 The University of Manchester, UK.
#
# Licenced under LGPL version 2.1. See LICENCE for details.
#
# The IDInteraction Processing Pipelines were developed in the IDInteraction
# project, funded by the Engineering and Physical Sciences Research Council,
# UK through grant agreement number EP/M017133/1.
#
# Author: <NAME>
#------------------------------------------------------------------------------

.PHONY: all analysis base cppmt tracking object-tracking video setbb opencvbb clean really-clean opencv object-tracking-keyframe

all: .analysis .base .cppmt .tracking .video .opencv .setbb .opencvbb .tracking-keyframe .opencv3base

# Use empty targets to help make, but hide them as dotfiles.
analysis: .analysis
.analysis: analysis/Dockerfile analysis/resources/install.R
	docker build -t idinteraction/analysis analysis/
	touch .analysis

base: .base
.base: base/Dockerfile
	docker build -t idinteraction/base base/
	touch .base

opencv3base: .opencv3base
.opencv3base: opencv3base/Dockerfile
	docker build -t idinteraction/opencv3base opencv3base/
	touch .opencv3base

cppmt: .cppmt
.cppmt: .base cppmt/Dockerfile cppmt/Makefile
	$(MAKE) -C cppmt
	docker build -t idinteraction/cppmt cppmt/
	touch .cppmt

tracking: .tracking
object-tracking: .tracking
.tracking: object-tracking/Dockerfile object-tracking/resources/Makefile
	docker build -t idinteraction/object-tracking object-tracking/
	touch .tracking

tracking-keyframe: .tracking-keyframe
object-tracking-keyframe: .tracking-keyframe
.tracking-keyframe: object-tracking-keyframe/Dockerfile object-tracking-keyframe/resources/Makefile
		docker build -t idinteraction/object-tracking-keyframe object-tracking-keyframe/
		touch .tracking-keyframe


opencv: .opencv
.opencv: opencv/Dockerfile opencv/resources/Makefile
		docker build -t idinteraction/opencv opencv/
		touch .opencv

setbb: .setbb
.setbb: setBB/Dockerfile setBB/resources/Makefile
		docker build -t idinteraction/setbb setBB/
		touch .setbb

opencvbb: .opencvbb
.opencvbb:	opencvBB/Dockerfile opencvBB/resources/Makefile
	docker build -t idinteraction/opencvbb opencvBB
	touch .opencvbb


video: .video
.video: .base video/Dockerfile video/resources/Makefile
	docker build -t idinteraction/video video/
	touch .video

upload: all
	docker push idinteraction/analysis
	docker push idinteraction/base
	docker push idinteraction/cppmt
	docker push idinteraction/object-tracking
	docker push idinteraction/opencv
	docker push idinteraction/video
	docker push idinteraction/setbb
	docker push idinteraction/opencvbb
	docker push idinteraction/object-tracking-keyframe
	docker puck idinteraction/opencv3base

clean:
	rm -f .analysis .base .cppmt .tracking .opencv .video .setbb .opencvbb .tracking-keyframe opencv3base
	$(MAKE) -C cppmt clean
	-docker stop `docker ps -aq`
	-docker rm -fv `docker ps -aq`
	-docker images -q --filter "dangling=true" | xargs docker rmi

really-clean: clean
	-docker rmi idinteraction/analysis
	-docker rmi idinteraction/base
	-docker rmi idinteraction/cppmt
	-docker rmi idinteraction/object-tracking
	-docker rmi idinteraction/video
	-docker rmi idinteraction/opencv
	-docker rmi idinteraction/setbb
	-docker rmi idinteraction/opencvbb
	-docker rmi idinteraction/object-tracking-keyframe
	-dockre rmi idinteraction/opencv3base<commit_msg>Include abc-tdr image in build<commit_after>#------------------------------------------------------------------------------
# Copyright (c) 2015, 2016 The University of Manchester, UK.
#
# Licenced under LGPL version 2.1. See LICENCE for details.
#
# The IDInteraction Processing Pipelines were developed in the IDInteraction
# project, funded by the Engineering and Physical Sciences Research Council,
# UK through grant agreement number EP/M017133/1.
#
# Author: <NAME>
#------------------------------------------------------------------------------

.PHONY: all analysis base cppmt tracking object-tracking video setbb opencvbb clean really-clean opencv object-tracking-keyframe

all: .analysis .base .cppmt .tracking .video .opencv .setbb .opencvbb .tracking-keyframe .opencv3base .abc-tdr

# Use empty targets to help make, but hide them as dotfiles.
analysis: .analysis
.analysis: analysis/Dockerfile analysis/resources/install.R
	docker build -t idinteraction/analysis analysis/
	touch .analysis

base: .base
.base: base/Dockerfile
	docker build -t idinteraction/base base/
	touch .base

opencv3base: .opencv3base
.opencv3base: opencv3base/Dockerfile
	docker build -t idinteraction/opencv3base opencv3base/
	touch .opencv3base

abc-tdr: .abc-tdr
.abc-tdr: abc-tdr/Dockerfile
	docker build -t idinteraction/abc-tdr abc-tdr
	touch .abc-tdr

cppmt: .cppmt
.cppmt: .base cppmt/Dockerfile cppmt/Makefile
	$(MAKE) -C cppmt
	docker build -t idinteraction/cppmt cppmt/
	touch .cppmt

tracking: .tracking
object-tracking: .tracking
.tracking: object-tracking/Dockerfile object-tracking/resources/Makefile
	docker build -t idinteraction/object-tracking object-tracking/
	touch .tracking

tracking-keyframe: .tracking-keyframe
object-tracking-keyframe: .tracking-keyframe
.tracking-keyframe: object-tracking-keyframe/Dockerfile object-tracking-keyframe/resources/Makefile
		docker build -t idinteraction/object-tracking-keyframe object-tracking-keyframe/
		touch .tracking-keyframe


opencv: .opencv
.opencv: opencv/Dockerfile opencv/resources/Makefile
		docker build -t idinteraction/opencv opencv/
		touch .opencv

setbb: .setbb
.setbb: setBB/Dockerfile setBB/resources/Makefile
		docker build -t idinteraction/setbb setBB/
		touch .setbb

opencvbb: .opencvbb
.opencvbb:	opencvBB/Dockerfile opencvBB/resources/Makefile
	docker build -t idinteraction/opencvbb opencvBB
	touch .opencvbb


video: .video
.video: .base video/Dockerfile video/resources/Makefile
	docker build -t idinteraction/video video/
	touch .video

upload: all
	docker push idinteraction/analysis
	docker push idinteraction/base
	docker push idinteraction/cppmt
	docker push idinteraction/object-tracking
	docker push idinteraction/opencv
	docker push idinteraction/video
	docker push idinteraction/setbb
	docker push idinteraction/opencvbb
	docker push idinteraction/object-tracking-keyframe
	docker push idinteraction/opencv3base
	docker push idinteraction/abc-tdr

clean:
	rm -f .analysis .base .cppmt .tracking .opencv .video .setbb .opencvbb .tracking-keyframe .opencv3base .abc-tdr
	$(MAKE) -C cppmt clean
	-docker stop `docker ps -aq`
	-docker rm -fv `docker ps -aq`
	-docker images -q --filter "dangling=true" | xargs docker rmi

really-clean: clean
	-docker rmi idinteraction/analysis
	-docker rmi idinteraction/base
	-docker rmi idinteraction/cppmt
	-docker rmi idinteraction/object-tracking
	-docker rmi idinteraction/video
	-docker rmi idinteraction/opencv
	-docker rmi idinteraction/setbb
	-docker rmi idinteraction/opencvbb
	-docker rmi idinteraction/object-tracking-keyframe
	-docker rmi idinteraction/opencv3base
	-docker rmi idinteraction/abc-tdr:
{'fraction_non_alphanumeric': 0.12144886363636363, 'fraction_numerical': 0.007954545454545454, 'mean_word_length': 3.611001964636542, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '268907', 'n_tokens_mistral': 2458, 'n_tokens_neox': 2247, 'n_words': 640}