Skip to content
This repository has been archived by the owner on Apr 30, 2020. It is now read-only.
/ docker-flynt-build Public archive

Docker image to build Flynt projects.

Notifications You must be signed in to change notification settings

flyntwp/docker-flynt-build

Repository files navigation

docker-flynt-build

standard-readme compliant

Docker image to build Flynt projects.

This docker image is intended to be used on a CI or CD server. With it you can install all composer PHP packages, install npm and bower dependencies, and run the gulp build task.

Table of Contents

Usage

To find out how to work with docker and how to run a container from an image, please refer to the extensive docker documentation.

The following is one example how to build all vendor and theme files.

APP_DIR="/usr/src/app"
docker run --rm -e UID=`id -u $USER` -e GID=`id -g $USER` -v /path/to/your/source/folder:$APP_DIR -w $APP_DIR bleech/flynt-build:php7.0-node6 \
	bash -c "composer install \
    && cd web/app/themes/yourThemeFolder \
    && npm install -g gulp bower \
    && yarn \
    && bower --allow-root install \
    && yarn build \
    && chown -R \$UID:\$GID $APP_DIR"

Contribute

To contribute, please use GitHub issues. Pull requests are accepted. Please also take a moment to read the Contributing Guidelines and Code of Conduct.

If editing the README, please conform to the standard-readme specification.

License

MIT © bleech

About

Docker image to build Flynt projects.

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published