2022-08-23 17:57:20 +00:00
|
|
|
IMAGE=carlosalgms/composer-and-node-ci
|
|
|
|
TARGET=Dockerfile
|
2021-11-11 23:01:00 +00:00
|
|
|
|
|
|
|
build_8:
|
2022-08-23 17:57:20 +00:00
|
|
|
docker pull $(IMAGE):php8 || true; \
|
|
|
|
docker buildx build --rm . \
|
|
|
|
-f $(TARGET) \
|
|
|
|
-t $(IMAGE):latest \
|
|
|
|
-t $(IMAGE):php8
|
2021-11-11 23:01:00 +00:00
|
|
|
|
2021-11-12 00:19:01 +00:00
|
|
|
|
2021-11-11 23:01:00 +00:00
|
|
|
build_71:
|
2022-08-23 17:57:20 +00:00
|
|
|
docker buildx build --rm . \
|
|
|
|
-f $(TARGET) \
|
|
|
|
--build-arg=PHP_VERSION="7.1" \
|
2021-11-11 23:01:00 +00:00
|
|
|
--build-arg=DEPLOYER_VERSION="v6.6.0" \
|
2022-08-23 17:57:20 +00:00
|
|
|
--build-arg=COMPOSER_VERSION="2.2.18" \
|
|
|
|
-t $(IMAGE):php7.1 \
|