ericdowell / laravel-circleci

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.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:

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 .

About

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


Languages

Language:Dockerfile 100.0%