• Resolved gormer

    (@gormer)


    Hi, I tested the latest wp-env and I ran into an issue while running wp-env start? Is it a bug there now with some apt settings missing from base docker image?

    The error I get is:

    15 [wordpress 10/19] RUN apt-get -qy install git 15 0.172 Reading package lists… 15 0.178 Building dependency tree… 15 0.179 Reading state information… 15 0.179 Package git is not available, but is referred to by another package. 15 0.179 This may mean that the package is missing, has been obsoleted, or 15 0.179 is only available from another source 15 0.179 15 0.179 E: Package ‘git’ has no installation candidate #15 ERROR: process “/bin/sh -c apt-get -qy install git” did not complete successfully: exit code: 100

    [tests-wordpress 10/19] RUN apt-get -qy install git:

    0.178 Building dependency tree…
    0.179 Reading state information…
    0.179 Package git is not available, but is referred to by another package.
    0.179 This may mean that the package is missing, has been obsoleted, or
    0.179 is only available from another source
    0.179 0.179 E: Package ‘git’ has no installation candidate

    failed to solve: process “/bin/sh -c apt-get -qy install git” did not complete successfully: exit code: 100

Viewing 1 replies (of 1 total)
  • penguinpages

    (@penguinpages)

    This looks like git is not contained within the base image. “…install git” did not complete..”

    So baseline; What image (url / source). Then within that image you need to install base tool like git..

    ”’

        – apt-get update -y

    ? ? – apt-get –yes install wget git unzip

    ”’

    you may be missing apt staging command that pulls down apt package inventory

Viewing 1 replies (of 1 total)
  • The topic ‘Issue with docker image for wp-env?’ is closed to new replies.