{"id":18698038,"url":"https://github.com/cloudposse-archives/wp-cli","last_synced_at":"2025-04-12T07:32:43.883Z","repository":{"id":46235165,"uuid":"81599206","full_name":"cloudposse-archives/wp-cli","owner":"cloudposse-archives","description":"WP-CLI built with Composer on top of Alpine Linux","archived":false,"fork":false,"pushed_at":"2023-12-15T05:28:06.000Z","size":12,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":12,"default_branch":"master","last_synced_at":"2023-12-18T08:02:03.710Z","etag":null,"topics":["client","docker","dockerfile","wordpress","wp-cli"],"latest_commit_sha":null,"homepage":"https://cloudposse.com/accelerate","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudposse-archives.png","metadata":{"funding":{"github":"cloudposse"},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-02-10T19:26:55.000Z","updated_at":"2023-12-15T16:47:20.000Z","dependencies_parsed_at":"2023-12-17T08:11:52.482Z","dependency_job_id":null,"html_url":"https://github.com/cloudposse-archives/wp-cli","commit_stats":null,"previous_names":["cloudposse-archives/wp-cli"],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudposse-archives%2Fwp-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudposse-archives%2Fwp-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudposse-archives%2Fwp-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudposse-archives%2Fwp-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudposse-archives","download_url":"https://codeload.github.com/cloudposse-archives/wp-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223504727,"owners_count":17156401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["client","docker","dockerfile","wordpress","wp-cli"],"created_at":"2024-11-07T11:26:45.178Z","updated_at":"2024-11-07T11:26:45.699Z","avatar_url":"https://github.com/cloudposse-archives.png","language":"Dockerfile","readme":"# WP-CLI on Alpine Linux\n\nWP-CLI built from Composer build on top of Alpine Linux.\n\n## Usage\n\nBelow are some examples of how you can use `wp-cli`.\n\n### Bash alias\n\nCreate a `bash` alias i.e.:\n\n```shell\nfunction wp() {\n    docker run -it --rm \\\n        -v $(pwd):/mnt \\\n        cloudposse/wp-cli:latest ${@:1}\n}\n```\n\n### Create a Wordpress project\n\n```shell\n$ mkdir wp-test \u0026\u0026 cd wp-test\n$ wp core download\n$ wp core config --dbhost=db --dbname=wptest --dbuser=root --dbpass=root\n$ wp core install \\\n    --url=http://wp-test \\\n    --title=\"Awesome website\" \\\n    --admin_user=admin --admin_password=admin --admin_email admin@example.com\n```\n\n### Perform Database Operations\n\nImport/export database:\n```shell\n$ cd /path/to/wordpress/project\n$ wp db import /mnt/dump.sql\n```\n\nNOTE: The `--path` argument is relative to paths inside of the container. Bind mount volumes as necessary.\n\n\n## Credits\n\nThis image is built from bits and pieces of other Dockerfiles. \n\nThanks to contributions by the following people:\n- @mbodenhamer, https://github.com/mbodenhamer/docker-alpine-wpcli/\n- @soifou, https://github.com/soifou/wpcli-alpine\n- @xtreamwayz, https://github.com/xtreamwayz/dckr-php\n","funding_links":["https://github.com/sponsors/cloudposse"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudposse-archives%2Fwp-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudposse-archives%2Fwp-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudposse-archives%2Fwp-cli/lists"}