Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ericdowell/laravel-circleci
Docker container for running tests/builds in CircleCI 2.0, meant for the PHP Framework Laravel.
https://github.com/ericdowell/laravel-circleci
circleci docker docker-container docker-image dockerfile laravel laravel-circleci ngnix php-fpm php7
Last synced: 23 days ago
JSON representation
Docker container for running tests/builds in CircleCI 2.0, meant for the PHP Framework Laravel.
- Host: GitHub
- URL: https://github.com/ericdowell/laravel-circleci
- Owner: ericdowell
- Created: 2018-04-15T22:47:26.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-26T05:53:08.000Z (over 2 years ago)
- Last Synced: 2025-01-03T11:54:19.682Z (24 days ago)
- Topics: circleci, docker, docker-container, docker-image, dockerfile, laravel, laravel-circleci, ngnix, php-fpm, php7
- Language: Dockerfile
- Homepage:
- Size: 17.6 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Laravel CircleCI 2.0 Docker Image
[![CircleCI](https://circleci.com/gh/ericdowell/laravel-circleci.svg?style=svg)](https://circleci.com/gh/ericdowell/laravel-circleci)
[![Docker Pulls](https://img.shields.io/docker/pulls/ericdowell/laravel-circleci.svg?style=flat-square)](https://hub.docker.com/r/ericdowell/laravel-circleci/)Docker container for running tests/build in CircleCI 2.0,
meant for the PHP Framework [Laravel](https://laravel.com/).This repo builds off of the `circleci/php:7.4-fpm-buster-node-browsers-legacy` image.
This is built nightly and pushed to the `latest` tag.
## Permissions Issue
Currently there's a permission issue that has to be resolved,
to fix the issue in your laravel build add this step to your `.circleci/config.yml` file:```yml
version: 2
jobs:
build:
docker:
- image: ericdowell/laravel-circleci:latest
steps:- run:
name: Fix app folder permissions
command: sudo chmod -R 0777 storage/ && sudo chmod -R 0775 bootstrap/cache/ && sudo chmod 0775 public/robots.txt
```## Build Locally
Run: `docker build -t ericdowell/laravel-circleci .`