{"id":26295527,"url":"https://github.com/code-soup/beetroot","last_synced_at":"2026-05-21T07:47:29.310Z","repository":{"id":282368119,"uuid":"948302132","full_name":"code-soup/beetroot","owner":"code-soup","description":"Ubuntu 24.04 LTS based docker image provides a develop \u0026 deploy environment for WordPress themes and plugins by Code Soup","archived":false,"fork":false,"pushed_at":"2025-03-14T07:31:15.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T08:32:39.099Z","etag":null,"topics":["docker","wordpress-development"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/codesoup/beetroot","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/code-soup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-14T04:52:38.000Z","updated_at":"2025-03-14T07:34:54.000Z","dependencies_parsed_at":"2025-03-14T08:43:19.223Z","dependency_job_id":null,"html_url":"https://github.com/code-soup/beetroot","commit_stats":null,"previous_names":["code-soup/beetroot"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-soup%2Fbeetroot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-soup%2Fbeetroot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-soup%2Fbeetroot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-soup%2Fbeetroot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-soup","download_url":"https://codeload.github.com/code-soup/beetroot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243681077,"owners_count":20330155,"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":["docker","wordpress-development"],"created_at":"2025-03-15T04:14:19.278Z","updated_at":"2026-05-21T07:47:29.293Z","avatar_url":"https://github.com/code-soup.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ubuntu 24.04 Development Image\n\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/code-soup/beetroot?style=flat-square)\n![License](https://img.shields.io/github/license/code-soup/beetroot?style=flat-square)\n\nThis Docker image is based on the official Ubuntu 24.04 LTS image and provides a comprehensive, lightweight development environment. It is specifically created for building and deploying WordPress plugins and themes by Code Soup and is used as part of the Ziploy GitHub Action workflow.\n\n## Features\n\n-   **Base Image:** Ubuntu 24.04 LTS (linux/amd64)\n-   **Installed Software:**\n    -   **curl:** 8.5.0\n    -   **wget:** 1.21.4\n    -   **git:** 2.43.0\n    -   **Python:** 3.12.3 (with pip)\n    -   **PHP:** 8.3.6 (CLI, XML, cURL)\n    -   **Composer:** 2.8.6\n    -   **yarn:** 1.22.22\n    -   **Node.js:** v22.x\n\n## Package Installation \u0026 Configuration\n\nSoftware packages are installed in non-interactive mode using apt, and additional tools such as Composer, Node.js, and Yarn are installed from their official sources. This setup provides a streamlined and lightweight environment with all necessary tools available in their specified versions.\n\n## GitHub Action Integration\n\nThis image is optimized to work with the [Ziploy GitHub Action](https://github.com/code-soup/ziploy-github-action), enabling seamless creation of [Ziploy WordPress plugin](https://www.ziploy.com) and automated deployment of your WordPress plugins and themes to any hosting environment.\nTo find out more, visit [ziploy.com](https://www.ziploy.com)\n\n## Building the Docker Image\n\nTo build the image, navigate to the directory containing your Dockerfile and run:\n\n```bash\ndocker build --platform=linux/amd64 -t codesoup/beetroot:latest .\n```\n\n## Running the Container\n\nOnce the image is built, run a container with the following command:\n\n```bash\ndocker run --platform=linux/amd64 -it codesoup/beetroot:latest /bin/sh\n```\n\n## GitHub Workflow Example\n\nBelow is an example GitHub Actions workflow that uses this Docker image. This workflow builds and deploys a WordPress plugin/theme when changes are pushed to the `release` branch.\n\n```yaml\nname: Build and Deploy WordPress Plugin/Theme\n\non:\n    push:\n        branches:\n            - release\n\njobs:\n    build-deploy:\n        runs-on: ubuntu-latest\n        container:\n            image: codesoup/beetroot:latest\n\n        steps:\n            - name: Checkout Repository\n              uses: actions/checkout@v4\n\n            - name: Install Dependencies\n              run: |\n                  composer install --no-dev --prefer-dist\n                  yarn install\n\n            - name: Build Assets\n              run: |\n                  yarn build:prod\n\n            - name: Run Tests\n              run: |\n                  php -v\n                  python --version\n\n            - name: Deploy the code\n              id: deploy_code\n              uses: code-soup/ziploy-github-action@0.0.1\n              with:\n                  ziploy-ssh-key: ${{ secrets.MY_SSH_KEY_PRIVATE }}\n                  ziploy-working-directory: \"wp-content/themes/my-theme-to-deploy\"\n```\n\n## Notes\n\n-   This image is built for the `linux/amd64` architecture.\n-   Intended for building and deploying WordPress plugins and themes for Code Soup.\n-   Modify or extend the Dockerfile if additional packages or configuration changes are required.\n-   Adjust the Node.js installation command if a different version is needed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-soup%2Fbeetroot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-soup%2Fbeetroot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-soup%2Fbeetroot/lists"}