Skip to content

Commit 7fbafd9

Browse files
authored
Track the latest PHP image instead of a pinned version. (#33)
1 parent b3cb4f0 commit 7fbafd9

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎Makefile‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ HOST_USER := $(shell id -u):$(shell id -g)
1111
DOCKER_GID := $(shell getent group docker 2>/dev/null | cut -d: -f3)
1212

1313
PHP_VERSION := $(shell sed -n 's/.*"php": *"^\([0-9]*\.[0-9]*\)".*/\1/p' composer.json)
14-
IMAGE_VERSION := 1.0.4
15-
PHP_IMAGE := gustavofreze/php:${PHP_VERSION}-cli-${IMAGE_VERSION}
14+
PHP_IMAGE := gustavofreze/php:${PHP_VERSION}-cli
1615
WORKSPACE := /var/www/html
1716

1817
DOCKER_RUN = docker run ${PLATFORM} -u ${HOST_USER} --rm ${TTY} --network=tiny-blocks --name test-lib \
@@ -64,7 +63,7 @@ show-outdated: configure-test-environment ## Show outdated direct dependencies
6463
@${DOCKER_RUN} composer outdated --direct
6564

6665
.PHONY: show-image
67-
show-image: ## Show the pinned PHP tooling image
66+
show-image: ## Show the PHP tooling image
6867
@echo ${PHP_IMAGE}
6968

7069
.PHONY: clean

0 commit comments

Comments
 (0)