Base image to build VCS integrations enabling customers to deploy their site to WP Engine
1M+
Base image to build VCS integrations enabling customers to deploy their site to WP Engine
You can build and version this image using make targets.
make build # Builds the image locally
make version # Builds the image and creates version tags
make list-images # Shows all tagged versions of the image
make clean # Deletes all tagged versions of the image
You can use this image to deploy a site from your local machine.
wpengine/site-deploy:latest image with make build..env file with the following variables, changing their values as needed.Warning
Since `docker run` does not strip double-quotes from variables in the .env file, we don't use them to wrap entire variable values. Instead, we must use single or double-quotes around flag values that contain whitespace to prevent splitting (`--filter=':= .gitignore'`). The `=` sign between the flag and its value is also required (`--filter=':= .gitignore'` rather than `--filter ':= .gitignore'`).
# Required. The target WP Engine install name.
WPE_ENV=yourinstall
# Optional. Default values shown.
REMOTE_PATH=
SRC_PATH=.
PHP_LINT=FALSE
CACHE_CLEAR=TRUE
SCRIPT=
FLAGS=-azvr --inplace --exclude='.*'
export WPE_SSHG_KEY_PRIVATE=`cat ~/.ssh/my_sshg_key_rsa`
docker run --rm \
-e "WPE_SSHG_KEY_PRIVATE" \
--env-file ./.env \
-v $(pwd):/site \
--workdir=/site \
wpengine/site-deploy:latest
Content type
Image
Digest
sha256:cadf06b4a…
Size
13.9 MB
Last updated
8 days ago
docker pull wpengine/site-deploy