edbizarro / gitlab-ci-pipeline-php

:coffee: Docker images for test PHP applications with Gitlab CI (or any other CI platform!)
https://hub.docker.com/r/edbizarro/gitlab-ci-pipeline-php
MIT License
529 stars 167 forks source link

8.0-alpine is still using Composer v1.x #121

Open smujaddid opened 3 years ago

smujaddid commented 3 years ago

When I tried to build a derived image, the edbizarro/gitlab-ci-pipeline-php:8.0-alpine image is still using Composer v1.x

$ docker run -t --rm $IMAGE_NAME:$IMAGE_VERSION --version
PHP 8.0.1 (cli) (built: Jan 29 2021 01:15:56) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.1, Copyright (c) Zend Technologies
    with Zend OPcache v8.0.1, Copyright (c), by Zend Technologies
    with Xdebug v3.0.2, Copyright (c) 2002-2021, by Derick Rethans
$ docker run -t --rm $IMAGE_NAME:$IMAGE_VERSION composer --version
Composer version 1.10.20 2021-01-27 15:41:06

I think one of your build was failed so the image in docker hub was not updated. The failed build is https://gitlab.com/edbizarro/gitlab-ci-pipeline-php/-/pipelines/250324780

cwdt commented 3 years ago

The same is the case for edbizarro/gitlab-ci-pipeline-php:8.0, I'm running sudo composer self-update --2 for now but it would be great to get that out 😄

abkrim commented 3 years ago

I see this update but not work.

I needs use tip of @cwdt usin 8-0-alpine

Remove all artifacts and olds contaniers and images on my docker machine.