{"id":13990411,"url":"https://github.com/geshan/docker-laravel-alpine","last_synced_at":"2025-11-20T19:10:26.623Z","repository":{"id":137062023,"uuid":"44532218","full_name":"geshan/docker-laravel-alpine","owner":"geshan","description":"Docker container for running tests for Laravel 5.x","archived":false,"fork":false,"pushed_at":"2017-09-10T14:09:07.000Z","size":8,"stargazers_count":9,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T08:30:40.635Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geshan.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2015-10-19T12:13:58.000Z","updated_at":"2024-01-07T07:14:43.000Z","dependencies_parsed_at":"2023-03-21T11:03:34.896Z","dependency_job_id":null,"html_url":"https://github.com/geshan/docker-laravel-alpine","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geshan%2Fdocker-laravel-alpine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geshan%2Fdocker-laravel-alpine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geshan%2Fdocker-laravel-alpine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geshan%2Fdocker-laravel-alpine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geshan","download_url":"https://codeload.github.com/geshan/docker-laravel-alpine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240996023,"owners_count":19890869,"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":[],"created_at":"2024-08-09T13:02:40.673Z","updated_at":"2025-11-20T19:10:26.581Z","avatar_url":"https://github.com/geshan.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"## Docker Container for Laravel 5.x with PHP7\n\nThis is a docker container for Laravel 5.x with composer installed.\n[Alpine Linux](https://hub.docker.com/_/alpine/) base image its very small at `~75 MB`.\nThis image is made for running tests for laravel not serving it over a web servicer like Nginx. It is primarily being used to run unit tests on [Wercker](http://wercker.com/).\nDo have a look at the [PHP7](https://github.com/geshan/docker-laravel-alpine/tree/php7-branch) version of this image.\n\n[![](https://images.microbadger.com/badges/image/geshan/laravel-alpine.svg)](https://microbadger.com/images/geshan/laravel-alpine \"Get your own image badge on microbadger.com\")\n\n## Pull it from docker registry\n\nTo pull the docker image you can do it with:\n\n```\ndocker pull geshan/laravel-alpine:php7\n```\n\n## Usage\n\nAfter pulling the image from docker registry, go into laravel project that has a composer.json.\nThen run the following commands to run php or composer:\n\n```\ndocker run -v $(pwd):/var/www geshan/laravel-alpine \"composer install --prefer-dist\"\n```\nLets say if you are have PHPUnit in your composer.json, you can run the following commands\nto run your tests:\n\n```\ndocker run -v $(pwd):/var/www geshan/laravel-alpine \"./vendor/bin/phpunit --version\"\ndocker run -v $(pwd):/var/www geshan/laravel-alpine:php7 \"./vendor/bin/phpunit\"\n```\n\n## As base image\n\nYou can use it as a base image like below:\n\n```\nFROM geshan/laravel-alpine\n\n//my docker image contents\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeshan%2Fdocker-laravel-alpine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeshan%2Fdocker-laravel-alpine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeshan%2Fdocker-laravel-alpine/lists"}