Pin docker containers used in wp-env to limit download/build size #59173
gorm
started this conversation in
Developer Experience
Replies: 1 comment 2 replies
-
Not sure what it would be downloading. I believe it uses the latest production release of WordPress by default, so if a new release happens it'll re-download, but otherwise should use the locally cached version. You can pin it to a specific version of WordPress by changing the 'core' setting in the .wp-env.json file, there's some examples in the documentation: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I develop on a metered internet connection. Starting wp-env in a local WordPress installation. But wp-env seems to download a lot of MBs and recreate the docker installation quite often. So I wonder if it's somehow possible to pin wp-env to a specific version instead of relaying on latest docker images so that I do not download new versions every week?
I have tried to pin the php version and also running on a local static wordpress installation so don't quite understand why containers gets downloaded and rebuilt so often.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions