[wp-trac] [WordPress Trac] #60202: unable to start wp-env

WordPress Trac noreply at wordpress.org
Sat Jan 6 18:31:16 UTC 2024


#60202: unable to start wp-env
--------------------------+-----------------------------
 Reporter:  vchiarello    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I try to start wp-env on my mac.

 node -v -> v18.16.1
 npm -v -> 9.5.1
 docker is up and running

 when I launch
   wp-env start

 I get the error below

 Can someone help me?

 Thanks in advance
 Vito

 ✖ Error while running docker compose command.
 #0 building with "desktop-linux" instance using docker driver

 #1 [wordpress internal] load .dockerignore
 #1 transferring context:
 #1 transferring context: 2B 10.0s done
 #1 DONE 10.1s

 #2 [tests-wordpress internal] load .dockerignore
 #2 transferring context: 2B 10.0s done
 #2 DONE 10.1s

 #3 [wordpress internal] load build definition from WordPress.Dockerfile
 #3 transferring dockerfile: 2.02kB 10.0s done
 #3 DONE 10.1s

 #4 [tests-wordpress internal] load build definition from Tests-
 WordPress.Dockerfile
 #4 transferring dockerfile: 2.03kB 10.0s done
 #4 DONE 10.1s

 #5 [tests-wordpress internal] load metadata for
 docker.io/library/wordpress:latest
 #5 DONE 0.0s

 #6 [wordpress  1/19] FROM docker.io/library/wordpress
 #6 DONE 0.0s

 #7 [wordpress  5/19] RUN sed -i '/stretch-updates/d' /etc/apt/sources.list
 #7 CACHED

 #8 [wordpress  6/19] RUN groupadd -o -g 20 v.chiarello || true
 #8 CACHED

 #9 [wordpress  7/19] RUN useradd -mlo -u 502 -g 20 v.chiarello || true
 #9 CACHED

 #10 [wordpress  2/19] RUN touch /etc/apt/sources.list
 #10 CACHED

 #11 [wordpress  4/19] RUN sed -i 's|security.debian.org/debian-security
 stretch|archive.debian.org/debian-security stretch|g'
 /etc/apt/sources.list
 #11 CACHED

 #12 [wordpress  3/19] RUN sed -i 's|deb.debian.org/debian
 stretch|archive.debian.org/debian stretch|g' /etc/apt/sources.list
 #12 CACHED

 #13 [wordpress  8/19] RUN apt-get -qy update
 #13 CACHED

 #14 [wordpress  9/19] RUN apt-get -qy install $PHPIZE_DEPS && touch
 /usr/local/etc/php/php.ini
 #14 0.635 Reading package lists...
 #14 1.544 Building dependency tree...
 #14 1.634 Reading state information...
 #14 1.850 0 upgraded, 0 newly installed, 0 to remove and 89 not upgraded.
 #14 1.854 touch: cannot touch '/usr/local/etc/php/php.ini': No such file
 or directory
 #14 ERROR: process "/bin/sh -c apt-get -qy install $PHPIZE_DEPS && touch
 /usr/local/etc/php/php.ini" did not complete successfully: exit code: 1
 ------
  > [wordpress  9/19] RUN apt-get -qy install $PHPIZE_DEPS && touch
 /usr/local/etc/php/php.ini:

 1.544 Building dependency tree...
 1.634 Reading state information...
 1.850 0 upgraded, 0 newly installed, 0 to remove and 89 not upgraded.
 1.854 touch: cannot touch '/usr/local/etc/php/php.ini': No such file or
 directory
 ------
 failed to solve: process "/bin/sh -c apt-get -qy install $PHPIZE_DEPS &&
 touch /usr/local/etc/php/php.ini" did not complete successfully: exit
 code: 1

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60202>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list