@wordpress/env 8.1.0 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/init-config.js +5 -1
- package/package.json +2 -2
package/lib/init-config.js
CHANGED
|
@@ -124,6 +124,7 @@ function wordpressDockerFileContents( env, config ) {
|
|
|
124
124
|
# Update apt sources for archived versions of Debian.
|
|
125
125
|
|
|
126
126
|
# stretch (https://lists.debian.org/debian-devel-announce/2023/03/msg00006.html)
|
|
127
|
+
RUN touch /etc/apt/sources.list
|
|
127
128
|
RUN sed -i 's|deb.debian.org/debian stretch|archive.debian.org/debian stretch|g' /etc/apt/sources.list
|
|
128
129
|
RUN sed -i 's|security.debian.org/debian-security stretch|archive.debian.org/debian-security stretch|g' /etc/apt/sources.list
|
|
129
130
|
RUN sed -i '/stretch-updates/d' /etc/apt/sources.list
|
|
@@ -167,7 +168,7 @@ RUN adduser -h /home/$HOST_USERNAME -G $( getent group $HOST_GID | cut -d: -f1 )
|
|
|
167
168
|
|
|
168
169
|
# Install any dependencies we need in the container.
|
|
169
170
|
${ installDependencies( 'cli', env, config ) }
|
|
170
|
-
|
|
171
|
+
|
|
171
172
|
# Switch back to the original user now that we're done.
|
|
172
173
|
USER www-data
|
|
173
174
|
|
|
@@ -200,6 +201,9 @@ RUN apt-get -qy update
|
|
|
200
201
|
# Install some basic PHP dependencies.
|
|
201
202
|
RUN apt-get -qy install $PHPIZE_DEPS && touch /usr/local/etc/php/php.ini
|
|
202
203
|
|
|
204
|
+
# Install git
|
|
205
|
+
RUN apt-get -qy install git
|
|
206
|
+
|
|
203
207
|
# Set up sudo so they can have root access.
|
|
204
208
|
RUN apt-get -qy install sudo
|
|
205
209
|
RUN echo "#$HOST_UID ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/env",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"description": "A zero-config, self contained local WordPress environment for development and testing.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"scripts": {
|
|
52
52
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "d47d8069e1aae05d4a16dc287902eb90edcbff50"
|
|
55
55
|
}
|