finfo_file shows wrong mime-type for .tga file. bugs.php.net/bug.php?id=78183
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
726 B

IMG_NAME=php-bug-78183
BUILD=docker build -t php-bug-78183
RUN=docker run --rm -t php-bug-78183
IMAGES:=$(shell docker images | grep php-bug-78183 | awk '{ n=$$1":"$$2; print n }')
.PHONY: all clean
all: run/7.2-cli run/7.3-cli run/7.4-rc-cli
@echo finished
build/%: Dockerfile src/script.php
$(BUILD):$* . --build-arg DOCKER_PHP_VER=$*
run/%: build/%
@echo ==========================================
@echo Running $*
@echo
$(RUN):$*
@echo
@echo ------------------------------------------
$(RUN):$* php -r 'phpinfo(INFO_MODULES);' | sed -n '/fileinfo/,/libmagic/p'
$(RUN):$* file -v
@echo
@echo ==========================================
clean:
@echo Deleting images:
@echo $(IMAGES)
docker rmi $(IMAGES)