Skip to content

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

Notifications You must be signed in to change notification settings

ericdowell/laravel-circleci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published