Skip to content
This repository was archived by the owner on Mar 13, 2019. It is now read-only.
This repository was archived by the owner on Mar 13, 2019. It is now read-only.

composer/composer:php7 php eversion #128

Description

@vasiliyb

Folks, trying to run a throw-away container with php7.1

docker run --rm -v $(pwd):/app composer/composer:php7 install

However, I see errors thrown such as:

Problem 1
    - Installation request for doctrine/annotations v1.5.0 -> satisfiable by doctrine/annotations[v1.5.0].
    - doctrine/annotations v1.5.0 requires php ^7.1 -> your PHP version (7.0.7) does not satisfy that requirement.
  Problem 2
    - Installation request for doctrine/cache v1.7.0 -> satisfiable by doctrine/cache[v1.7.0].
    - doctrine/cache v1.7.0 requires php ~7.1 -> your PHP version (7.0.7) does not satisfy that requirement.

I'm not able to find the proper tag, how do i get php 7.1? Thanks!

Super quick solution: docker run --rm -v $(pwd):/app prooph/composer:7.1 install .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions