Docker container for running tests/builds in CircleCI 2.0, meant for the PHP Framework Laravel.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci
conf
Dockerfile
readme.md

readme.md

Laravel CircleCI 2.0 Docker Image

CircleCI Docker Pulls

Docker container for running tests/build in CircleCI 2.0, meant for the PHP Framework Laravel.

This repo builds off of the circleci/php:7.2-fpm-stretch-node-browsers 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:

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 .